Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2051
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us