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: 2088
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

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