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