MSIR.1018: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<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> | ||
<li>More than one Success block was coded in a Try block. Only one Success block is allowed per Try block. | <li>More than one Success block was coded in a Try block. Only one Success block is allowed per Try block. In this case the following message is produced: | ||
<p class="code>MSIR.1018: Success invalid -- only one Success allowed per Try block</p> | <p class="code>MSIR.1018: Success invalid -- only one Success allowed per Try block</p> | ||
</li> | </li> |
Revision as of 15:36, 25 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 out side of a try block - 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. 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
Response:
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |
ECHO | Displays the line that caused the error |