From m204wiki
Jump to navigation Jump to search

M204.0182  Statement label expected​,​ not token

A VALUE IN or FIND$ clause is found in a Find statement or the selection specification of the IFFIND function with token following instead of a statement label. VALUE IN must refer to the label of a Note, For Each Value, or For Each Occurrence statement. FIND$ must refer to the label of a Find statement.

In SOUL, the compilation continues but the request is not executed. If an IFFIND function produced the message, the function returns a return code of 4.

Response: If an IFFIND function produced the message, remove any VALUE IN or FIND$ clauses and retry. If a Find statement produced the message, correct the FIND$ or the VALUE IN clause and retry.

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