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
How can a jobs execution priority be modified?
What is timing concept in mainframe?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how do you code a null statement?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Can an individual step be restricted from using all the jobs allowed cpu time?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
what is the difference between JES3 and JES2?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How do you submit a job for execution?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How do you overcome this limitation ?
Explain the function of a dd statement?
Are there any set of rules for the names of the steps used in a job?
What are s0c1, s0c4, s0c5, s0c7 and socb?