I need to compare two VSAm files. In input VSAM file some
fields are updating and the updated feilds are coming into
the output file. now i need to compare these two files with
respect to a perticular field. Please suggest a suitable
JCL code me.
Answers were Sorted based on User's Feedback
Answer / sunil
IEBCOMPR can be used for comparing the PS and PDS members.
Vsam files can be comparewd by
1 - unloading trhe vsam to two PS files and comparing using
IEBCOMPR....
2. is to use the ISRSUPC utility
5:03:06 AM◄//SUPERC EXEC PGM=ISRSUPC,
// PARM=(CHNGL,LINECMP,
// '','')
//NEWDD DD DSN=ADMT.TEST.BASE,DISP=SHR
//OLDDD DD DSN=ADMT.TEST.BASEB,DISP=SHR
//*OUTDD DD SYSOUT=*
//OUTDD DD DSN=ADMT.TEST.OUTDD,DISP=(NEW,CATLG,DELETE),
// UNIT=TEST,SPACE=(CYL,(1,5),RLSE),
// DCB=(BLKSIZE=270,LRECL=270,RECFM=FB)
//SYSIN DD *
CMPCOLM 1:270
WIDE
/*
//*
3.
by using the insync tool to compare the vsam files
Is This Answer Correct ? | 0 Yes | 0 No |
How many parameters are there to a DISP statement and what are their uses ?
wht r different types of sorts ?
lines(1,cancel)??What is meant by that??Plz explain it....
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl.
What is a S0C4 error ?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
can we write a proc with in a proc
hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..
how can u identify the db2 from jcl ?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
if we give TIME=0 how many sec that job/step