I have two PDS like old.pds and new.pds. I want to compare(line by line) to those pds members and the output of the line comparison would be loaded into separate pds.(like SUPERC) Can any one let me know the solution please.
I written a jcl for comparing 2 pds ie., like SUPERCE comparison, , the problem is here we will enter the each member name in to that jcl . yeah that is not automated. My teammate told REXX have these provision , I don?t know REXX. Pls. help my request.
SUPERCE will work without the need write the list of members. You can use * if you're working online in ISPF (3.13), or if you're using a job, run SUPERC with the following parm PARM=(DELTAL,LINECMP,'','')
This is my Main Program.
//R0001ZS JOB (1019,XXXX,1),'SABARI',CLASS=L,
// JCLLIB ORDER=(R0001Z.CHK.COMPRE.PDS)
//STEP01 EXEC SUPERCEP,
//STEP02 EXEC SUPERCEP,
//STEP03 EXEC SUPERCEP,
//STEP04 EXEC SUPERCEP,
In that main program, each and every time, I am typing the members name and the processor group name. Instead of this manual work, I want give only the PDS names.
I want to make the above program as automated.
Pls. any body help me... I Struggled lot for last three days.
Maybe i wasn't clear before. you can run SUPERC and only give the PDS names (one old and one new). It will compare all members with the same names, but the output will go into one sequential file with the comparisons of all the members in it. eg:
//SUPERC EXEC PGM=ISRSUPC,
//NEWDD DD DSN=MYUSER.JOBS,
//OLDDD DD DSN=MYUSER.JOBS.NEW,
//OUTDD DD DSN=MYUSER.JOBS.COMPARE.OUT, <---sequential file
You can run an additional step on the file MYUSER.JOBS.COMPARE.OUT which seperates the comparisons into a pds by member name.