MSIR.0974: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<p> | <p> | ||
A <var>[[Exceptions#Try and Catch|Try]]</var> block was invoked without the correct SOUL structure to process.The following examples are amongst the texts that can be displayed with this message: | A <var>[[Exceptions#Try and Catch|Try]]</var> block was invoked without the correct SOUL structure to process.The following examples are amongst the texts that can be displayed with this message: | ||
</p> | |||
<ul> | <ul> | ||
<li>There are no SOUL statements within the <var>Try</var> block to test for an exception, in which case the following message is produced: | <li>There are no SOUL statements within the <var>Try</var> block to test for an exception, in which case the following message is produced: | ||
<p class = "code">MSIR.0974: TRY invalid -- nothing tried | <p class = "code">MSIR.0974: TRY invalid -- nothing tried</p></li> | ||
</p> | |||
<li>The <var>Try</var> block does not contain a valid <var>Catch</var> or <var>Rethrow</var> statement to catch an exception condition, in which case the following error would be produced: | <li>The <var>Try</var> block does not contain a valid <var>Catch</var> or <var>Rethrow</var> statement to catch an exception condition, in which case the following error would be produced: | ||
<p class = "code">MSIR.0974: TRY invalid -- no Catch block(s) or Rethrows | <p class = "code">MSIR.0974: TRY invalid -- no Catch block(s) or Rethrows</p></li> | ||
</p> | |||
</ul> | </ul> | ||
{{Template:MSIR.0974 footer}} | {{Template:MSIR.0974 footer}} |
Revision as of 14:39, 31 May 2018
MSIR.0974 TRY invalid -- token
A Try block was invoked without the correct SOUL structure to process.The following examples are amongst the texts that can be displayed with this message:
- There are no SOUL statements within the Try block to test for an exception, in which case the following message is produced:
MSIR.0974: TRY invalid -- nothing tried
- The Try block does not contain a valid Catch or Rethrow statement to catch an exception condition, in which case the following error would be produced:
MSIR.0974: TRY invalid -- no Catch block(s) or Rethrows
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 |