MSIR.0975
MSIR.0975 CATCH invalid -- token
A Catch statement or block was coded in an invalid context. The following examples are amongst the texts that might be displayed with this message:
- The Catch statement or block is not located within a valid Try block, as it must be, in which case the following message is produced:
MSIR.0975: CATCH invalid -- not inside a Try block
- A Catch statement specifies a base class followed by its extension class, which isn't allowed. The Catch statement can specify a base class, and extension class, or extension followed by the base class being extended, but not base followed by extension. In this case the following messages is produced:
MSIR.0975: CATCH invalid -- extension class after base class
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 |