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

From m204wiki
Jump to navigation Jump to search
(Created page with "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 ma...")
 
m (1 revision)
(No difference)

Revision as of 16:41, 9 November 2010

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 re-specify 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 User Language or IFAM. If it is from the FILE RECORDS UNDER statement or from the IFFILE function, 'rec' will be -1, and, for User Language, M204.1096 THERE WERE NO UPDATES FOR BACKOUT TO PROCESS is also issued.