From m204wiki
Revision as of 20:16, 21 February 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

M204.0240  FRV impossible: field ​=​ fieldName

A FOR EACH VALUE (FRV) or a FIND ALL VALUES (FDV) statement specifies a field that does not have the FRV attribute.

Response: Ask your file manager to redefine the field to give it the FRV attribute, or rewrite your SOUL request to eliminate the FOR EACH VALUE statement. See FOR EACH VALUE (FRV) and NON-FRV attributes for techniques for simulating the FOR EACH VALUE statement with NON-FRV fields.

File manager response: Use the REDEFINE command to give the field the FRV attribute. The field must also have the KEY attribute.

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