M204.1717: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
Line 1: Line 1:
{{Template:M204.1717 skeleton}}
{{Template:M204.1717 skeleton}}
<P>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. </P>
<P>
<p><b>Response:</b> Change the program to use a DELETE RECORD loop instead of a DELETE RECORDS statement. </p>
The evaluator has detected an attempt to issue a <var>Delete Records</var> statement for a file that has <var>FOPT</var> X'20' set on (or a group that has at least one such file). The request is canceled. </P>
<p><b>File manager response:</b> Reset the FOPT=X'20' bit off if application performance considerations require use of the DELETE RECORDS statement. </p>
<p>
<b>Response:</b> Change the program to use a <var>Delete Record</var> loop instead of a <var>Delete Records</var> statement. </p>
<p>
<b>File manager response:</b> Reset the <var>FOPT</var> X'20' bit off, if application performance considerations require use of the <var>Delete Records</var> statement.  
</p>
{{Template:M204.1717 footer}}
{{Template:M204.1717 footer}}
<!-- skeleton as it was in pdf/Name FILE OPTION PROHIBITS DELETE RECORDS /-->
<!-- skeleton as it was in pdf/Name FILE OPTION PROHIBITS DELETE RECORDS /-->

Latest revision as of 16:45, 12 March 2018

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