IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compare DataSets using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Tue Jan 16, 2007 2:51 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top