Appendix B. Return Codes
This appendix is a list of all the REXX/CICS return codes.

Panel Facility

4Warning. Panel facility continues processing
8Programmer error
10 Programmer error with state information
12 CICS command error
14 RFS errors; reason code contains the RFS return code
16 Internal system error
See Chapter 24, “REXX/CICS Panel Facility,” on page 295, for additional codes (for example: state and
reason codes).

SQL

nspecifies the SQLCODE if the SQL statement resulted in an error or warning
0The SQL statement was processed by the EXECSQL environment
30 There was not enough memory to build the SQLDSECT variable
31 There was not enough memory to build the SQL statement area
32 There was not enough memory to build the SQLDA variable
33 There was not enough memory to build the results area for the SELECT statement

RFS and FLST

0Normal return
101 Invalid command
102 Invalid operand
103 File not found
104 Not authorized
105 File already exists
107 Insufficient space in filepool
110 Request failed
111 Invalid file ID
113 Directory not found
115 Directory already exists
116 Directory not specified
121 File corrupted
122 Invalid or out of range stem.0
126 Path error
127 CICS I/O error
128 Command not valid from this location
130 Directory not empty
131 Missing operand
132 Missing file pool data record. File pool is probably not formatted.
199 Internal error

EDITOR and EDIT

0Normal return
201 Invalid command
202 Invalid operand
203 File not found
204 Not authorized
© Copyright IBM Corp. 1992, 2009 387