From m204wiki
Jump to navigation Jump to search

M204.1717  fileOrGroupName file option prohibits delete records

The evaluator has detected an attempt to issue a Delete Records statement for a file that has FOPT X'20' set on (or a group that has at least one such file). The request is canceled.

Response: Change the program to use a Delete Record loop instead of a Delete Records statement.

File manager response: Reset the FOPT X'20' bit off, if application performance considerations require use of the Delete Records statement.

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
CANCELCancels the user's request
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages