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
Is there any command to check wether the ps file is in sorted order?
how would you create a temporary dataset? And where will you use them?
What do you understand by the term job time – out and how can you overcome that?
Can I share my data with other jobs? How?
Explain how can the attributes of one sms dataset be copied to another dataset?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
How gdg are concatenated?
Why include statement is used in a jcl?
Is it possible to left uncode disp?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what sort card you will use to copy the data from one dataset to another dataset?
What do you understand by the terms: joblib and steplib?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain the function of //cntl statement?