Return Codes from EXECIO
After an EXECIO command runs, it sets the REXX special variable "RC" to a return code. Valid return codes from EXECIO are:
Return Code | Meaning |
---|---|
0 | Normal completion of requested operation. |
1 | Data was truncated during DISKW operation. |
2 | End-of-file reached before the specified number of lines were read during a DISKR or DISKRU operation. (This return code does not occur when * is specified for number of lines because the remainder of the file is always read.) |
4 | An empty data set was found within a concatenation of data sets during a DISKR or DISKRU operation. The file was not successfully opened and no data was returned. |
20 | Severe error. EXECIO completed unsuccessfully and a message is issued. |