From m204wiki
Jump to navigation Jump to search

M204.2942  Extraneous string after field attribute list: string

This message indicates that the format of the INITIALIZE command as entered for a hashed, sorted, or record security file does not conform to this syntax:

INITIALIZE SORT fldName (attributes) HASH fldName (attributes) RECSCTY fldName (attributes)

In particular, the message indicates that some string followed the right parenthesis ()) of the attribute list.

Prior to version 7.5 of Model 204, nothing after the closing parenthesis was checked.

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

System manager response: If you choose to always allow extraneous strings after the closing parenthesis of the field attributes, you can issue (usually in CCAIN) the following command:


This action represents a very special case for the NOCOUNT option of MSGCTL. Normally, NOCOUNT only changes a message so that it does not increment the error count, and it does not directly affect the operation which issued the error message. For this message, however, NOCOUNT indicates that this condition is to be allowed, and normal processing of the INITIALIZE command will continue.

Issuing MSGCTL M204.2942 NOCOUNT is not recommended, however, because if you do issue this command, the string after the right parenthesis will not be analyzed.

See also

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