MSIR.1052: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<ul>
<ul>
<li>A rethrow must appear within a Try block, otherwise the folloiwng message is produced
<li>A rethrow must appear within a Try block, otherwise the folloiwng message is produced
<p class="code>MSIR.1052: RETHROW invalid -- not inside a Try block</p>
</li>
</li>
</ul>
</ul>

Revision as of 15:24, 9 May 2019

MSIR.1052  RETHROW invalid -- token

A Rethrow statement has been coded incorrectly.Variants of the message include the following:

  • A rethrow must appear within a Try block, otherwise the folloiwng message is produced

    MSIR.1052: RETHROW invalid -- not inside a Try block

Response:

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