M204.0220: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
Line 1: Line 1:
{{Template:M204.0220 skeleton}}
{{Template:M204.0220 skeleton}}
<P>A SUBROUTINE statement is nested within another User Language block. A block begins with FOR, ON, IF/ELSE/ELSEIF, or SUBROUTINE, and ends with a corresponding END statement. </P>
<P>
<p><b>Response:</b> Move the subroutine outside all other blocks. Check for a missing block end statement before the SUBROUTINE statement. Retry the request. </p>
A <var>Subroutine</var> statement is nested within another SOUL block. A block begins with <var>For</var>, <var>On</var>, <var>If</var>/<var>Else</var>/<var>ElseIf</var>, or <var>Subroutine</var>, and ends with a corresponding <var>End</var> statement. </P>
<p>
<b>Response:</b> Move the subroutine outside all other blocks. Check for a missing block end statement before the <var>Subroutine</var> statement. Retry the request.  
</p>
{{Template:M204.0220 footer}}
{{Template:M204.0220 footer}}
<!-- skeleton as it was in pdf/SUBROUTINE STATEMENT CANNOT BE NESTED /-->
<!-- skeleton as it was in pdf/SUBROUTINE STATEMENT CANNOT BE NESTED /-->

Latest revision as of 23:11, 21 February 2018

M204.0220  Subroutine statement cannot be nested

A Subroutine statement is nested within another SOUL block. A block begins with For, On, If/Else/ElseIf, or Subroutine, and ends with a corresponding End statement.

Response: Move the subroutine outside all other blocks. Check for a missing block end statement before the Subroutine statement. Retry the request.

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
COMPILECompilation error

Back to list of messages