MSIR.0781 END (block) expected, not END (block): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
An < | An <var>End</var> statement was followed by the incorrect qualifier. The qualifier on the <var>End</var> statement must match the statement that starts the block, for example <var>Public</var>, or <var>Class</var>, or <var>Subroutine</var>. One common mistake is to end a <var>Public Shared</var> or <var>Private Shared</var> block with just an <var>End Public</var> or <var>End Private</var>. For these blocks, the <var>End</var> statement must be <var>End Public Shared</var> and or <var>End Private Shared</var>, respectively. | ||
[[Category: | {{Template:MSIR.0781 footer}} | ||
[[Category:MSIR.0600 - MSIR.0799]] |
Latest revision as of 23:34, 3 March 2017
An End statement was followed by the incorrect qualifier. The qualifier on the End statement must match the statement that starts the block, for example Public, or Class, or Subroutine. One common mistake is to end a Public Shared or Private Shared block with just an End Public or End Private. For these blocks, the End statement must be End Public Shared and or End Private Shared, respectively.
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 |