Your EFS program must pass one of two return codes to DFSORT:
- 0
- Continue Processing
-
- If you want DFSORT to continue processing for this Major
Call, return with a return code of zero in general register 15.
- 16
- Terminate DFSORT
-
- If you want DFSORT to terminate processing for this Major
Call, return with a return code of 16 in general register 15.
-
- If the EFS program returns a return code of 16 from a Major
Call prior to Major Call 4 or one of its generated user exit routines
returns a return code of 16, DFSORT will skip interim Major Calls,
where applicable, to the EFS program or user exit routine, and
will call the EFS program at Major Call 4 and at Major Call 5.
-
- Multiple calls are possible at Major Call 2 and Major Call
3. If the EFS program returns with a return code of 16 from one
of the multiple calls at Major Call 2, subsequent calls at Major
Call 2, if applicable, will be completed. If the EFS program
returns with a return code of 16 from one of the multiple calls
at Major Call 3, subsequent calls at Major Call 3, if applicable,
will not be completed.
-
- If the EFS program returns a return code of 16 at Major
Call 4, DFSORT will still call the EFS program at Major Call 5.