MSIR.1018: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:MSIR.1018 skeleton}}
{{Template:MSIR.1018 skeleton}}
<!--Test SOUL.DNC.012.QA in QASHR exercises at least some MSIR.1018 cases. PDS-6626 -->
<p>
<p>
A Success block has been coded incorrectly. The following examples are amongst the texts that might appear with this message:
A [[Exceptions#Success blocks|Success block]] has been coded incorrectly. The following examples are amongst the texts that might appear with this message:
</p>
</p>
<ul>
<ul>
<li>the Success block was coded out side of a try block - it must always appear inside a try block. In this case the following message is produced:
<li>The <var>Success</var> block was coded outside a <var>Try</var> block, but it must always appear inside a <var>Try</var> block. In this case, the following message is produced:
<p class="code>MSIR.1018: Success invalid -- not inside a Try block</p>
<p class="code>MSIR.1018: Success invalid -- not inside a Try block </p>
</li>
<li>More than one <var>Success</var> block was coded in a <var>Try</var> block, but only one <var>Success</var> block is allowed per <var>Try</var> block. In this case, the following message is produced:
<p class="code>MSIR.1018: Success invalid -- only one Success allowed per Try block</p>
</li>
</li>
</ul>
</ul>
<p>
<b>Response:</b>
</p>
{{Template:MSIR.1018 footer}}
{{Template:MSIR.1018 footer}}
<!-- SOUL.DNC.012.QA runs some tests to produce various versions of this message -->

Latest revision as of 13:52, 31 July 2018

MSIR.1018  Success invalid -- token

A Success block has been coded incorrectly. The following examples are amongst the texts that might appear with this message:

  • The Success block was coded outside a Try block, but it must always appear inside a Try block. In this case, the following message is produced:

    MSIR.1018: Success invalid -- not inside a Try block

  • More than one Success block was coded in a Try block, but only one Success block is allowed per Try block. In this case, the following message is produced:

    MSIR.1018: Success invalid -- only one Success allowed per Try block

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages