MSIR.0781 END (block) expected, not END (block): Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
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. | 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. | ||
{{Template:MSIR.0781 footer}} | |||
[[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]] | [[Category:Sirius Mods messages]] [[Category:MSIR.0600 - MSIR.0799]] |
Revision as of 21:56, 11 July 2016
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 |