You use the EXITS statement to identify any exit routines you want
to use. If an exit routine is used, the EXITS statement is required.
If you use more than one EXITS statement, IEBCOMPR only uses the last
EXITS statement. All others are ignored.
The syntax of the EXITS statement is:
Label |
Statement |
Parameters |
---|
[label] |
EXITS |
[INHDR=routinename] |
|
|
[,INTLR=routinename] |
|
|
[,ERROR=routinename] |
|
|
[,PRECOMP=routinename] |
where:
- INHDR=routinename
- specifies the name of the routine that processes user input
header labels.
- INTLR=routinename
- specifies the name of the routine that processes user input
trailer labels.
- ERROR=routinename
- specifies the name of the routine that is to receive control
for error handling after each unequal comparison. If this parameter
is omitted and ten consecutive unequal comparisons occur while IEBCOMPR
is comparing sequential data sets, processing is stopped; if the input
data sets are partitioned or PDSE, processing continues with the next
member.
- PRECOMP=routinename
- specifies the name of the routine that processes logical records
(physical blocks in the case of variable spanned (VS) or variable
blocked spanned (VBS) records longer than 32K bytes) from either or
both of the input data sets before they are compared.
Related reading: For information about processing
of user labels as data set descriptors, see Processing User Labels.