copy vsam file with alternate index
Posted: Sat Nov 16, 2013 12:42 pm
Hello,
I am trying to create a exact replica of vsam with alternate index.
I followed this steps:
1.I copied first a.vsam file to another b.vsam file
2. created b.aix
3 created b.path
4. build alternate index.
My base cluster is 100% matching, but when I am trying to compare the a.aix with b.aix, I am getting some unmatched records.
Unmatched records are coming due to order change, I checked the data and found its only sequence of data which is improper, I would like to know why this is occurring, Please let me know, if I missed any thing from my end to fulfill this task.
I am having a utility CA MASTER PLUS, I tried with batch as well as ca master plus utility.
DEFINE ALTERNATEINDEX
(NAME(TEST.XREFAIX)
RELATE(TEST.XREF)
CYL (10 2)
FREESPACE(30 10)
SHAREOPTIONS(2 3)
KEYS(39 39)
NONUNIQUEKEY
UPGRADE
RECORDSIZE(83 19544))
DATA
(NAME(TEST.XREFAIX.DATA)
CISZ(2048))
INDEX
(NAME(TEST.XREFAIX.INDEX))
DEFINE PATH
(NAME(TEST.XREF.PATH)
PATHENTRY(TEST.XREFAIX))
BLDINDEX INDATASET(TEST.XREF)
OUTDATASET(TEST.XREFAIX)
Please reply.
I am trying to create a exact replica of vsam with alternate index.
I followed this steps:
1.I copied first a.vsam file to another b.vsam file
2. created b.aix
3 created b.path
4. build alternate index.
My base cluster is 100% matching, but when I am trying to compare the a.aix with b.aix, I am getting some unmatched records.
Unmatched records are coming due to order change, I checked the data and found its only sequence of data which is improper, I would like to know why this is occurring, Please let me know, if I missed any thing from my end to fulfill this task.
I am having a utility CA MASTER PLUS, I tried with batch as well as ca master plus utility.
DEFINE ALTERNATEINDEX
(NAME(TEST.XREFAIX)
RELATE(TEST.XREF)
CYL (10 2)
FREESPACE(30 10)
SHAREOPTIONS(2 3)
KEYS(39 39)
NONUNIQUEKEY
UPGRADE
RECORDSIZE(83 19544))
DATA
(NAME(TEST.XREFAIX.DATA)
CISZ(2048))
INDEX
(NAME(TEST.XREFAIX.INDEX))
DEFINE PATH
(NAME(TEST.XREF.PATH)
PATHENTRY(TEST.XREFAIX))
BLDINDEX INDATASET(TEST.XREF)
OUTDATASET(TEST.XREFAIX)
Please reply.