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


Please Help Members By Posting Answers For Below Questions

How can a jobs execution priority be modified?

1005


What is timing concept in mainframe?

1892


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

864


how do you code a null statement?

1009


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?

2010


Can an individual step be restricted from using all the jobs allowed cpu time?

1247


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

947


what is the difference between JES3 and JES2?

875


What does a disposition of (MOD,DELETE,DELETE) mean ?

861


How do you submit a job for execution?

827


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 ?

9462


How do you overcome this limitation ?

893


Explain the function of a dd statement?

867


Are there any set of rules for the names of the steps used in a job?

844


What are s0c1, s0c4, s0c5, s0c7 and socb?

931