View previous topic :: View next topic
|
Author |
Message |
akshathan
New User
Joined: 18 Aug 2006 Posts: 45
|
|
|
|
Hi all,
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. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
What are you trying to accomplish?
If you want to compare 2 "files", SUPERC is far more often used these days.
If you post your requirement, someone here may have suggestions. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 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.
Quote: |
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. |
|
Back to top |
|
|
imagines
New User
Joined: 10 Sep 2007 Posts: 18 Location: Italy
|
|
|
|
Text deleted. Not a JCL question, code tags not used and does not belong to this topic.
Moderator |
|
Back to top |
|
|
|