I have a doubt regarding the control statment associated with the IEBCOMPR.The control statments which we give in SYSIN parameter
are COMPARE,EXITS AND LABEL.
I am a bit confused about the usage of EXITS AND LABEL control characters.I was not able to get the exact usage of the above 2 when i read the Utility manual present in Manuals/Batc processing section.
Can some one Plz provide an example which will help me out to understand the concepts in a better way.I have the snapshots where i encoutered some confusion.Please go thru the attachement.
Joined: 03 Jul 2007 Posts: 1288 Location: Chennai, India
As suggested by DICK, use SUPERC for comparing the datasets instead of going for IEBCOMPR. The same is mentioned in the manual too.
What are labels…… I didn’t understand by reading the above explanation..plz help me out
I googled and got this info about lables.
Since only tape datasets have user labels, this control statement is only utilized when the datasets to be compared reside on tape. If the LABEL statement is coded as: LABEL DATA=YES (which is the default) the user labels are treated as data after they have been processed by the user's label processing routine. If NO is coded, the user labels are not treated
as data and are not processed by IEBCOMPR. ONLY may be coded in place of YES, which results in comparison of only the user labels and not the data. The final alternative is to code ALL, which is used when there is more than one user label (there may be up to 16 user labels following the standard tape label). ALL specifies that even if an error is found in a user label, the remaining user labels are still to be compared.