MSIR.0974: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (mention QA test for this msg)
No edit summary
Line 1: Line 1:
{{Template:MSIR.0974 skeleton}}
{{Template:MSIR.0974 skeleton}}
<!--Test SOUL.DNC.003.QA in QASHR exercises at least some MSIR.0974 cases. PDS-6626 -->
<p>
<p>
A <var>[[Exceptions#Try and Catch|Try]]</var> block was invoked without the correct SOUL structure to process.The following examples are among 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 among the texts that can be displayed with this message:

Revision as of 15:27, 20 June 2018

MSIR.0974  TRY invalid -- token

A Try block was invoked without the correct SOUL structure to process.The following examples are among 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=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