M204.1717

From m204wiki
Revision as of 15:57, 7 March 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.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