MSIR.0244 Value (condition) format in FILE (file) record (rec) (field) = (value)

From m204wiki
Jump to navigation Jump to search

This message indicates that an update to record number rec in file file for field field was attempted, and that the value being stored does not match the primary nor any ALTERNATE format specified in the SIRFIELD FORMAT and/or RELATE commands for field. condition can be does not match, which indicates that value does not match even an ERROR format, or can be matches ERROR, which indicates that it matches the ERROR format, and that CANCEL was specified on the ERROR format.

If you want value to be an exception value for the field, you can add it using the EXCEPTIONS clause of either the SIRFIELD RELATE command, if field has been related to another field, or the SIRFIELD FORMAT command otherwise.

If you want value to match an alternate format for the field, you can add a format using the ALTERNATES clause of the SIRFIELD RELATE command or SIRFIELD FORMAT command.

  • If you add an exception value or alternate format, you do not need to re-specify the exception values or alternate formats already present for the field.
  • If you add an exception value or alternate format using SIRFIELD FORMAT, you do not need to respecify the DATE clause.

However, if you maintain your SIRFIELD commands for a file reorganization, you should update those commands as well, if adding an exception value or alternate format. You can also simply update your set of SIRFIELD commands for the file and re-execute all of them.

The attempted update is from SOUL or IFAM. If it is from the FILE RECORDS UNDER statement or from the IFFILE function, rec will be -1. For SOUL, M204.1096 THERE WERE NO UPDATES FOR BACKOUT TO PROCESS is also issued.

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