IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compare more than one pair of PDS using Rexx.


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhagyac

New User


Joined: 17 Apr 2008
Posts: 44
Location: bangalore

PostPosted: Wed Mar 03, 2010 8:56 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 03, 2010 9:28 am
Reply with quote

Hello,

Suggest you simply run superc in batch. . .
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Wed Mar 03, 2010 9:32 am
Reply with quote

From rexx, call the batch SuperC program, ISRSUPC, numerous times and allocate the OUTDD file with DISP=MOD.
Back to top
View user's profile Send private message
bhagyac

New User


Joined: 17 Apr 2008
Posts: 44
Location: bangalore

PostPosted: Wed Mar 03, 2010 10:06 am
Reply with quote

Hello,

Suggest you simply run superc in batch.

***********************************************

Could you please give me some more clue? Thank you.
Back to top
View user's profile Send private message
bhagyac

New User


Joined: 17 Apr 2008
Posts: 44
Location: bangalore

PostPosted: Wed Mar 03, 2010 10:08 am
Reply with quote

Thank Pedro..

let me try..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 03, 2010 10:33 am
Reply with quote

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
View user's profile Send private message
bhagyac

New User


Joined: 17 Apr 2008
Posts: 44
Location: bangalore

PostPosted: Thu Mar 04, 2010 12:21 am
Reply with quote

Thank you so much Dick.. It worked!!

Thanks a lot..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 04, 2010 1:41 am
Reply with quote

Good to hear it worked - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top