Your E32 routine must pass a return code to DFSORT. Following are
the return codes for the E32 user exit:
- Return Code
- Description
- 08 (X'08')
- End of input for requested file
- 12 (X'0C')
- Insert record
- 16 (X'10')
- Terminate DFSORT
- 8: End of input for requested file
- DFSORT continues to return control to the user routine until it
receives a return code of 8 for every input file. After that, the
user exit is not used again during the DFSORT application. You need
not place an address in the second field of
the parameter list when you return with a return code of 8.
- 12: Insert Record
- To add a record from the requested input file, place the address
of the next record in the parameter list and
return to DFSORT with a return code of 12. DFSORT keeps returning
to your routine until you pass a return code of 8 for every input
file.
- 16: Terminate DFSORT
- If you want to terminate DFSORT, return with a code of 16. DFSORT
then returns to its calling program with a return code of 16.