M204.1631: 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.1631 skeleton}}
{{Template:M204.1631 skeleton}}
<P>An array that has a DEPENDING ON clause cannot be in a part of the image whose location is unknown. A location is unknown when any preceding item or array has the LENGTH UNKNOWN or the OCCURS UNKNOWN clause specified.
<P>
An array that has a <var>Depending On</var> clause cannot be in a part of the image whose location is unknown. A location is unknown when any preceding item or array has the <var>Length Unknown</var> or the <var>Occurs Unknown</var> clause specified.
</P>
</P>
<p><b>Response:</b> If the array's location must be unknown, consider changing the OCCURS clause to UNKNOWN and using the IDENTIFY statement to supply the number of occurrences. If the array's location is known, add an AT clause to specify
<p>
the location. </p>
<b>Response:</b> If the array's location must be unknown, consider changing the <var>Occurs</var> clause to <code>Unknown</code> and using the <var>Identify</var> statement to supply the number of occurrences. If the array's location is known, add an <var>At</var> clause to specify the location.  
</p>
{{Template:M204.1631 footer}}
{{Template:M204.1631 footer}}
<!-- skeleton as it was in pdf/ARRAY WITH DEPENDING VARIABLE MUST HAVE KNOWN LOCATION /-->
<!-- skeleton as it was in pdf/ARRAY WITH DEPENDING VARIABLE MUST HAVE KNOWN LOCATION /-->

Latest revision as of 00:05, 9 March 2018

M204.1631  Array with depending variable must have known location

An array that has a Depending On clause cannot be in a part of the image whose location is unknown. A location is unknown when any preceding item or array has the Length Unknown or the Occurs Unknown clause specified.

Response: If the array's location must be unknown, consider changing the Occurs clause to Unknown and using the Identify statement to supply the number of occurrences. If the array's location is known, add an At clause to specify the location.

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