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
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