M204.0513: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
m (add links) |
||
Line 1: | Line 1: | ||
{{Template:M204.0513 skeleton}} | {{Template:M204.0513 skeleton}} | ||
<ul> | <ul> | ||
<li>For Call Attach Facility, $ | <li>For Call Attach Facility, <var>[[$Status]]</var> will contain the return code (R15) and <var>[[$StatusD]]</var> the reason code (R0).</li> | ||
<li>For an SQL request, if the SQLCODE is not 0 or 100, $ | |||
<li>For an SQLCODE of 0 or 100, both $ | <li>For an SQL request, if the SQLCODE is not 0 or 100, <var>$Status</var> will contain a return code of 8, and <var>$StatusD</var> will contain the returned SQLCODE.</li> | ||
<li>For an SQLCODE of 0 or 100, both <var>$Status</var> and <var>$StatusD</var> will contain the same result.</li> | |||
<li>For an RCL request, the format message is echoed up to 220 bytes.</li> | <li>For an RCL request, the format message is echoed up to 220 bytes.</li> | ||
</ul> | </ul> | ||
<p> | <p> | ||
<b>Response:</b> If the error is an SQL error code, check $ | <b>Response:</b> If the error is an SQL error code, check <var>$Errmsg</var> to display information regarding the returned SQLCODE. Otherwise, it's a Call Attach Facility error. Print <var>$Errmsg</var>, and contact the System Manager. </p> | ||
<p> | <p> | ||
<b>System manager response:</b> Check $ | <b>System manager response:</b> Check <var>$Status</var> and <var>$StatusD</var> for CAF return and reason codes, and <var>$Errmsg</var> for the CAF error explanation. | ||
</p> | |||
{{Template:M204.0513 footer}} | {{Template:M204.0513 footer}} | ||
<!-- skeleton as it was in pdf/%C /--> | <!-- skeleton as it was in pdf/%C /--> |
Latest revision as of 21:42, 26 February 2018
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=0 | Sets online return code |
---|---|
RETCODEB=0 | Sets batch (single user) return code |
CLASS=I | Information class; the message can be suppressed with the X'02' bit setting of the MSGCTL parameter |
AUDITRK | Writes the message with line type RK to the audit trail |
NOCOUNT | Does not increment the error count (ERCNT) parameter |
NOTERM | Does not display the message on the user's terminal |
SAVE | Saves the message in the VIEW ERRORS table |