MSIR.0982: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 3: | Line 3: | ||
This error is produced through incorrect of the special case exception methods [[Exceptions#OnThrow_and_OnUncaught|onThrow and onUncaught]]. The following examples are amongst the texts that might appear with this message:  | This error is produced through incorrect of the special case exception methods [[Exceptions#OnThrow_and_OnUncaught|onThrow and onUncaught]]. The following examples are amongst the texts that might appear with this message:  | ||
</p>  | </p>  | ||
<ul>  | |||
<li>The On method is defined as a method type other than a subroutine, in which case the following message is produced:  | |||
<p class="code>MSIR.0982: Exception On method must be a Subroutine</p>  | |||
</li>  | |||
</ul>  | |||
<p>  | <p>  | ||
<b>Response:</b>  | <b>Response:</b>  | ||
</p>  | </p>  | ||
{{Template:MSIR.0982 footer}}  | {{Template:MSIR.0982 footer}}  | ||
Revision as of 11:07, 5 July 2018
MSIR.0982 Exception On method token
This error is produced through incorrect of the special case exception methods onThrow and onUncaught. The following examples are amongst the texts that might appear with this message:
- The On method is defined as a method type other than a subroutine, in which case the following message is produced:
MSIR.0982: Exception On method must be a Subroutine
 
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 |