The second line of CMPCOLM is given as it would not fit into first line.
I am getting the below warning in the o/p file
THE FOLLOWING PROCESS STATEMENTS (USING COLUMNS 1:72) WERE PROCESSED:
CMPCOLM 1:2,21:1
ISRS031W AN INVALID START COLUMN VALUE WAS SPECIFIED.
ISRS078I FALSE MATCHES CORRECTED. RESULTS MAY NOT REFLECT ALL MATCHES. SEE "ADDITIONAL MANUAL ON SUPERC"
Joined: 31 Aug 2005 Posts: 34 Location: Pune, India
Thanks for your reply Phil and Anuj.
I felt both solution( (21:27 by Phil) , (21:83 (Anuj)) suggested were the same , as it is contigous from 21:83 . I tried both and got the same output
But output of SUPERC and COMPAREX were not the same.
There is record count mismatch between COMPAREX output and SUPERC
I need to convert COMPAREX to SUPERC and get the same output
FYI- After SUPERC, I use a SORT step to get rid of I(insert) which SUPERC normally writes to the o/p file. Ignore D(Delete) which is also written to o/p file as insert are my concern. So the final output will have only data without summary, I or D.
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
kabyab wrote:
There is record count mismatch between COMPAREX output and SUPERC
Hi,
Please show the JCL you are using & the SYSOUT/error messages.
We can up with some better suggestion. If possible please provide the some sample input & required output records.
Joined: 31 Aug 2005 Posts: 34 Location: Pune, India
Hi Everyone,
Thank you very much for all your help, finally I managed to get the comparison right.
I had to include the KEY=(03,18,C,A) parameters as part of the CMPCOLM.
Instead of using CMPCOLM 1:2,21:83,
we used CMPCOLM 1:2,3:83 and got the results right.
I have one more query.
In the SUPERC JCL as already given in my previous post, I am using SORT to remove the prefixed 'I -' character from the Super C output dataset.