View previous topic :: View next topic
|
Author |
Message |
amolj
New User
Joined: 08 Nov 2006 Posts: 21 Location: india
|
|
|
|
hi guys ... can any one help me....
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
amitava Warnings : 1 Active User
Joined: 30 Oct 2005 Posts: 186 Location: India
|
|
|
|
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 |
|
|
|