M204.1717
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=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
CANCEL | Cancels the user's request |
COUNT | Increments the error count (ERCNT) parameter |