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
In sms datasets, what is the function of the dd avgrec keyword?
Is condition checking possible in jcl? If yes, how?
write a jcl to execute a job by 7:00 am on jan 20,1986?
is there any way to execute more than one proc in the same exec statement at the same time..?
Is their any limit for data sets?
Is there any command to check wether the ps file is in sorted order?
what is use of dsn parameter in dd statement?
Where can program checkpoints be stored for use in a restart?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What is the function of dd disp parameter?
can any one plzzzzzz tell the jcl code for creating ps using idcams
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
what are the types of abends that occur on job failure? And explain the possible causes of these
what is the difference between JES3 and JES2?