When commands end, they report any errors or failures by setting the Rexx variable RC. A value of zero indicates normal execution (no error or failure was found), a positive value indicates an error, and a negative value a failure. All command errors and failures are audited with audit type 'E' (if auditing of errors is enabled).
The possible values for command return codes follow.
Errors indicate that the command was in error (perhaps a syntax error) or the data it processed was in error. The following errors may occur:
[11] Response already completed [21] Missing keyword in command [22] Bad keyword in command [23] Bad value in command [24] Junk on end of command [25] Header key not found [26] Unknown SET/QUERY/EXTRACT item [31] Unable to open file [32] Unable to read file [33] Unable to write file [34] Unable to write audit [40] Bad variable name [41] Could not set variable [42] Could not get variable [50] Missing Content-Length [51] Bad Content-Length [52] Zero Content-Length [53] Multiple READ BODY requested
Failures are indicated when a command encounters an unexpected or serious condition, such as a failure of the TCP/IP network or some limit being exceeded. The following failures may be reported:
[-1] Inactive timeout exceeded [-2] Total timeout exceeded [-3] Header bytes limit exceeded [-4] Body bytes limit exceeded [-5] Out of memory [-6] Failure reading from network [-7] Failure sending to network [-8] Unknown command
[ previous section | GoServe | next section ]
From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.