View previous topic :: View next topic
|
Author |
Message |
bhagyac
New User
Joined: 17 Apr 2008 Posts: 44 Location: bangalore
|
|
|
|
Hi,
Could anyone help to do the below comparision easily.
AAA.BBB.FILE1 --> it is a PDS.
AAA.BBB.FILE1.BKUP --> another PDS.
AAA.BBB.FILE2
AAA.BBB.FILE2.BKUP
.
.
.
AAA.BBB.FILE100
AAA.BBB.FILE100.BKUP
I have to compare all the above mentioned 100 sets of PDS files and get the differences(if any). I was doing it using 3.13 option on ISPF, but it consumes lot of time.
any way to achive this easily using a REXX pgm?
Please help!!! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you simply run superc in batch. . . |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
From rexx, call the batch SuperC program, ISRSUPC, numerous times and allocate the OUTDD file with DISP=MOD. |
|
Back to top |
|
|
bhagyac
New User
Joined: 17 Apr 2008 Posts: 44 Location: bangalore
|
|
|
|
Hello,
Suggest you simply run superc in batch.
***********************************************
Could you please give me some more clue? Thank you. |
|
Back to top |
|
|
bhagyac
New User
Joined: 17 Apr 2008 Posts: 44 Location: bangalore
|
|
|
|
Thank Pedro..
let me try.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Could you please give me some more clue? |
Submit a job that executes superc. . .
Code: |
//COMPARE EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=the.old.dataset,DISP=SHR
//OLDDD DD DSN=the.new.dataset,DISP=SHR
//OUTDD DD SYSOUT=* |
Repeat this step for each file. If you want all of the output in a single output, use a dataset for OUTDD rather than sysout and MOD onto it.. |
|
Back to top |
|
|
bhagyac
New User
Joined: 17 Apr 2008 Posts: 44 Location: bangalore
|
|
|
|
Thank you so much Dick.. It worked!!
Thanks a lot.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it worked - thank you for letting us know
d |
|
Back to top |
|
|
|