M204.0513: Difference between revisions

From m204wiki
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, $STATUS will contain the return code (R15) and $STATUSD the reason code (R0).</li>
<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, $STATUS will contain a return code of 8, and $STATUSD will contain the returned SQLCODE.</li>
 
<li>For an SQLCODE of 0 or 100, both $STATUS and $STATUSD will contain the same result.</li>
<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 $ERRMSG to display information regarding the returned SQLCODE. Otherwise, it's a Call Attach Facility error. Print $ERRMSG and contact the System Manager. </p>
<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 $STATUS and $STATUSD for CAF return and reason codes, and $ERRMSG for the CAF error explanation. </p>
<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=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