M204.1631

From m204wiki
Jump to navigation Jump to search

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