MSIR.1052: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 4: | Line 4: | ||
</p>  | </p>  | ||
<ul>  | <ul>  | ||
<li>A rethrow must appear within a Try block, otherwise the   | <li>A rethrow statement must appear within a Try block, otherwise the following message is produced  | ||
<p class="code>MSIR.1052: RETHROW invalid -- not inside a Try block</p>  | <p class="code>MSIR.1052: RETHROW invalid -- not inside a Try block</p>  | ||
</li>  | |||
<li>In addition to appearing within a Try block, the Rethrow statement must appear within a method, otherwise the folloiwng message is produced  | |||
<p class="code>MSIR.1052: RETHROW invalid -- not in a method</p>  | |||
</li>  | </li>  | ||
</ul>  | </ul>  | ||
Revision as of 12:12, 15 May 2019
MSIR.1052 RETHROW invalid -- token
A Rethrow statement has been coded incorrectly.Variants of the message include the following:
- A rethrow statement must appear within a Try block, otherwise the following message is produced
MSIR.1052: RETHROW invalid -- not inside a Try block
 - In addition to appearing within a Try block, the Rethrow statement must appear within a method, otherwise the folloiwng message is produced
MSIR.1052: RETHROW invalid -- not in a method
 
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 |