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 DataSets using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
amolj

New User


Joined: 08 Nov 2006
Posts: 21
Location: india

PostPosted: Tue Jan 16, 2007 11:29 am    Post subject: Compare DataSets using REXX
Reply with quote

hi guys ... can any one help me.... icon_confused.gif

Following is my requirement ....
i) i have written a rexx code which will add comments to 1400 JCLs in a PDS.
ii) Now after executing the rexx code i want to compare the updated JCL with the older version and to check weather apart from comment the remaining jcl is not affected and generate a report..

i thought of using SUPERc comaprison tool.. but the report generated are very big.. is there any other way of doing it through REXX
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 16, 2007 2:51 pm    Post subject:
Reply with quote

You can invoke SUPERC from within REXX, just as you can invoke any other program.
Then, you can parse the result dataset (OUTDD).

O.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Jan 16, 2007 5:13 pm    Post subject:
Reply with quote

Hi Amolj,
What Offer71 suggested is fine enough. But in REXX also, you can do the SuperC/SuperCE. I can explain you the logic.
1. Read the source dataset and put it into a stack.
2. Read the target dataset and put it into another stack.
3. Now for each record, compare these two stacks and if any mismatch write down the corresponding records in a output file.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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