MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Sat Nov 16, 2013 12:42 pm Post subject: copy vsam file with alternate index
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.
if you reorg your 'a' file first,
and then do the duplication (copy/build)
i imagine that both will be the same. _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples