M204.2941

From m204wiki
Jump to navigation Jump to search

M204.2941  File being initialized (file fileName) does not match name given after INITIALIZE command: string

This message indicates that the format of the INITIALIZE command as entered does not conform to the syntax of:

INITIALIZE [KEEPDEF[S]]

Prior to version 7.5, it was possible to place any text on the INITIALIZE command, and if it was anything other than KEEPDEF[S], it was ignored. In version 7.5, the syntax of the INITIALIZE command is checked for strict correctness. In some cases, users have entered the name of the file being initialized after the INITIALIZE command keyword, but this message indicates that whatever string you entered after the INITIALIZE command keyword is not the name of the file being initialized.

File manager Response:

File manager response: Correct the command. The most direct response is to correct the command to conform to the proper syntax: that is, remove extraneous strings after the INITIALIZE command keyword.

However, if the system manager has performed a MSGCTL M204.2940 NOCOUNT command, and you want to enter the correct filename on the INITIALIZE command, that will allow the INITIALIZE operation to proceed.

System manager response:

If the file manager is unable to correct the INITIALIZE command, you can have the following commands executed at any time before the INITIALIZE command is executed:

MSGCTL M204.2940 NOCOUNT MSGCTL M204.2941 NOCOUNT

These actions represent a very special case for the NOCOUNT option of MSGCTL. Normally, the NOCOUNT option only changes a message such that it does not increment the count of counting errors, but it does not directly affect the operation which issued the error message.

/p>For this message, however, setting the NOCOUNT operation indicates that this condition is to be allowed, and normal processing of the INITIALIZE command will continue.

Issuing MSGCTL M204.2941 NOCOUNT is not recommended, because this results in what might appear to be checking of the filename when in fact it is not checked. Issuing MSGCTL M204.2940 NOCOUNT does not present any risk with version 7.5 of Model 204, but, as discussed in the System manager response section of message

Version introduced: 7.5

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

Back to list of messages