MSIR.0781 END (block) expected, not END (block): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
An <tt>End</tt> statement was followed by the incorrect qualifier. The qualifier on the <tt>End</tt> statement must match the statement that starts the block, for example <tt>Public</tt>, or <tt>Class</tt>, or <tt>Subroutine</tt>. One common mistake is to end a <tt>Public Shared</tt> or <tt>Private Shared</tt> block with just an<tt>End Public</tt> or <tt>End Private</tt>. For these blocks, the <tt>End</tt> statement must be <tt>End Public Shared</tt> and or <tt>End Private Shared</tt>, 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.


[[Category:Sirius Mods messages]]
{{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=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