z/OS DFSORT Messages, Codes and Diagnosis Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DFSORT return codes

z/OS DFSORT Messages, Codes and Diagnosis Guide
SC23-6879-00

For successful completion, DFSORT passes back a return code of 0 or 4 to the operating system or the invoking program.

For unsuccessful completion due to an unsupported operating system, DFSORT passes back a return code of 24 to the operating system or the invoking program.

For unsuccessful completion with NOABEND in effect, DFSORT passes back a return code of 16, 20 or 28 to the operating system or the invoking program.

For unsuccessful completion with ABEND in effect, DFSORT issues a user abend with the appropriate code as specified by the ABCODE installation option (either the error message number or a number between 1 and 99).

For additional information on DFSORT User Abends, see User abends at run time.

The meanings of the return codes that DFSORT passes back (in register 15) are:
0
Successful completion. DFSORT completed successfully.
4
Successful completion. DFSORT completed successfully, and:
  • OVFLO=RC4 was in effect and summary fields overflowed, or
  • PAD=RC4 was in effect and the SORTOUT LRECL was larger than the SORTIN/SORTINnn LRECL (LRECL padding), or
  • TRUNC=RC4 was in effect and the SORTOUT LRECL was smaller than the SORTIN/SORTINnn LRECL (LRECL truncation), or
  • SPANINC=RC4 was in effect and one or more incomplete spanned records was detected, or
  • NULLOUT=RC4 was in effect and there were no records for the SORTOUT data set, or
  • NULLOFL=RC4 was in effect and there were no data records for an OUTFIL data set
16
Unsuccessful completion. DFSORT detected an error that prevented it from completing successfully.
20
Message data set missing. Installation option NOMSGDD=QUIT was in effect and neither a message data set DD statement nor a SYSOUT DD statement was provided.
24
Unsupported operating system. This operating system is not supported by this release of DFSORT.
28
Wrong entry name. DFSORT detected one of the following errors related to the program entry name that prevented it from completing successfully:
  • DFSORT was invoked directly with PGM=ICEMAN64 or PGM=SORT64 (instead of with PGM=ICEMAN or PGM=SORT).
  • DFSORT was invoked from a program using entry name ICEMAN64 or SORT64, and an extended invocation parameter list, or a 24-bit invocation parameter list (instead of a 64-bit invocation parameter list).
  • DFSORT was invoked from a program using an entry name other than ICEMAN64 or SORT64 (for example, ICEMAN or SORT) and a 64-bit invocation parameter list.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014