M204.0904

From m204wiki
Jump to navigation Jump to search

M204.0904  EDIT_SPEC syntax error

An IFGET, IFMORE, IFPUT, IFUPDT, IFFTCH, or IFSTOR Edit specification has a syntax error(s). Errors that may cause this are listed below.

At compilation, possible errors are:

  • The EDIT list contains an unknown format item.
  • The operand for a format item is missing or incorrectly specified.
  • Parentheses are not correctly nested.

At execution, possible errors are:

  • The EDIT list refers to a position that is outside the boundaries of the data buffer.
  • Errors in the G format descriptor:
    • The 'bypass' indicator is set and the rest of the descriptor is not zero.
    • The 'search-by-value' indicator is set in the descriptor of the second value (it can be set only for the first value).
    • The 'search-by-value' indicator is set and the 'absent' indicator is set for the first (search) value.
    • The 'search-by-value' indicator is set for the field that is to be added or inserted.
    • An unsupported data type is specified.

The function returns a code of 4.

Response: Consult the function description to correct the syntax of the Edit specification or the G format descriptor, and retry. If the host language indicator is 2 (for COBOL or FORTRAN) and LIBUFF has been exceeded by the Edit specification, contact the system manager to rerun Model 204 with a larger LIBUFF.

System manager response: Consider rerunning Model 204 with an increased LIBUFF value on the User 0 parameter line.

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