M204.2966: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (minor formatting)
Line 1: Line 1:
{{Template:M204.2966 skeleton}}
{{Template:M204.2966 skeleton}}
<p>
<p>
Diagnostic information after various types of error messages.  
This message provides diagnostic information following various types of error messages. </p>
 
<p>
The first M204.2966 after an error will have <var>what</var> set to "Error at" and subsequent M204.2966 (if any) will have <var>what</var> set to "Called from".
The first M204.2966 message after an error has <var class="term">what</var> set to <code>Error at</code>. Subsequent M204.2966 messages (if any) have <var class="term">what</var> set to <code>Called from</code>. </p>
 
<p>
<var>number</var>, <var>proc</var>, and <var>file</var> indicate the line number, procedure, and file where the error occurred or where the previous M204.2966 entry had been called from. Essentially, this provides a call stack trace to aid in diagnosing problems. No more than 20 levels of calls will be shown for an error.
<var class="term">number</var>, <var class="term">proc</var>, and <var class="term">file</var> indicate the line number, procedure, and file where the error occurred or from where the previous M204.2966 entry was called. Essentially, this provides a call stack trace to aid in diagnosing problems. No more than 20 levels of calls are shown for an error. </p>
</p>
<p>
<p>
<b>Response:</b> Use the M204.2966 messages after an error to try to diagnose the cause of the error.
<b>Response:</b> Use the M204.2966 messages after an error to try to diagnose the cause of the error.
</p>
</p>
{{Template:M204.2966 footer}}
{{Template:M204.2966 footer}}

Revision as of 18:34, 25 June 2018

M204.2966  what line number​,​ procedure proc in file file

This message provides diagnostic information following various types of error messages.

The first M204.2966 message after an error has what set to Error at. Subsequent M204.2966 messages (if any) have what set to Called from.

number, proc, and file indicate the line number, procedure, and file where the error occurred or from where the previous M204.2966 entry was called. Essentially, this provides a call stack trace to aid in diagnosing problems. No more than 20 levels of calls are shown for an error.

Response: Use the M204.2966 messages after an error to try to diagnose the cause of the error.

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
AUDITMSWrites the message with line type MS to the audit trail
NOCOUNTDoes not increment the error count (ERCNT) parameter

Back to list of messages