M204.0513

From m204wiki
Revision as of 21:42, 26 February 2018 by JAL (talk | contribs) (add links)
(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