z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


E16 return codes

z/OS DFSORT Application Programming Guide
SC23-6878-00

Your E16 routine must pass a return code to DFSORT. Following are the return codes for the E16 user exit:
Return Code
Description
00 (X'00')
Sort Current Records Only
04 (X'04')
Try to Sort Additional Records
08 (X'08')
Terminate DFSORT
0: Sort Current Records Only
If you want DFSORT to continue with only that part of the input data set it estimates it can handle, return with a return code of 0 (zero). Message ICE054I contains the number of records with which sort is continuing. You can sort the remainder of the data set on one or more subsequent runs, using SKIPREC to skip over the records already sorted. Then you can merge the sort outputs to complete the operation.
4: Try to Sort Additional Records
If you want DFSORT to continue with all of the input data set, return with a return code of 4. If tapes are used, enough space might be available for DFSORT to complete processing. If enough space is not available, DFSORT generates a message and terminates. Refer to Exceeding tape work space capacity.
8: Terminate DFSORT
If you want DFSORT to terminate, return with a return code of 8. DFSORT then returns to its calling program or to the system with a return code of 16.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014