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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Explain how can the submitting users racf authority be overridden in a job stream?
What is the difference between static call & Dynamic call ?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
How do you designate a comment in JCL?
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
how do u see jobs submitted before ur job ?
Are there any set of rules for the names of the steps used in a job?
What are the common keyword parameters in both job and exec statements
How to search strings in multiple dataset with conditions 'string1 & string2'?
i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
What are the parameters that are used in creating a gdg?