M204.0513

From m204wiki
Revision as of 04:52, 25 February 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

M204.0513  token

  • For Call Attach Facility, $STATUS will contain the return code (R15) and $STATUSD the reason code (R0).
  • For an SQL request, if the SQLCODE is not 0 or 100, $STATUS will contain a return code of 8, and $STATUSD will contain the returned SQLCODE.
  • For an SQLCODE of 0 or 100, both $STATUS and $STATUSD will contain the same result.
  • For an RCL request, the format message is echoed up to 220 bytes.

Response: If the error is an SQL error code, check $ERRMSG to display information regarding the returned SQLCODE. Otherwise, it's a Call Attach Facility error. Print $ERRMSG and contact the System Manager.

System manager response: Check $STATUS and $STATUSD for CAF return and reason codes, and $ERRMSG for the CAF error explanation.

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=0Sets batch (single user) return code
CLASS=IInformation class; the message can be suppressed with the X'02' bit setting of the MSGCTL parameter
AUDITRKWrites the message with line type RK to the audit trail
NOCOUNTDoes not increment the error count (ERCNT) parameter
NOTERMDoes not display the message on the user's terminal
SAVESaves the message in the VIEW ERRORS table

Back to list of messages