Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Compare more than one pair of PDS using Rexx.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Compare more than one pair of PDS using Rexx.
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

Site Director


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

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

Hello,

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

Senior Member


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

PostPosted: Wed Mar 03, 2010 9:32 am    Post subject: Reply to: Compare more than one pair of PDS using Rexx.
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    Post subject:
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    Post subject:
Reply with quote

Thank Pedro..

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

Site Director


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

PostPosted: Wed Mar 03, 2010 10:33 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Mar 04, 2010 1:41 am    Post subject: Reply to: Compare more than one pair of PDS using Rexx.
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us