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.
Answer Posted / 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 |
Post New Answer View All Answers
What is NOTCAT ?
What is the purpose of disp parameter?
how you can direct the data to spool using SYSOUT option?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
List the various advantages of using jcl language?
What does a disposition of (new,catlg,keep) for a dsn mean?
Is it possible to define dd statements as you want?
How would you understand error(execution phase)?
What is the difference between run mode and addressing mode?
What is concatenating?
What are the 4 fields in dd statement?
What is the maximum length of a single line of jcl?
In job processing, what happens in execution stage?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is the purpose of dd dummy statement?