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

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.  
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 <var>SIRFIELD FORMAT</var> and/or <var>RELATE</var> commands for '''''field'''''. '''''condition''''' can be <code>does not match</code>, which indicates that '''''value''''' does not match even an ERROR format, or can be <code>matches ERROR</code>, 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 be an exception value for the field, you can add it using the EXCEPTIONS clause of either the <var>SIRFIELD RELATE</var> command, if '''''field''''' has been related to another field, or the <var>SIRFIELD FORMAT</var> 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 want '''''value''''' to match an alternate format for the field, you can add a format using the <var>ALTERNATES</var> clause of the <var>SIRFIELD RELATE</var> command or <var>SIRFIELD FORMAT</var> command.


<ul> <li>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. <li>If you add an exception value or alternate format using SIRFIELD FORMAT, you do not need to re-specify the DATE clause.</ul> 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.  
<ul>  
<li>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.  
<li>If you add an exception value or alternate format using <var>SIRFIELD FORMAT</var>, you do not need to respecify the <var>DATE</var> clause.
</ul>  
However, if you maintain your <var>SIRFIELD</var> 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.
The attempted update is from SOUL or IFAM. If it is from the <var>FILE RECORDS UNDER</var> statement or from the <var>IFFILE</var> function, '''''rec''''' will be -1. For SOUL, <code>M204.1096 THERE WERE NO UPDATES FOR BACKOUT TO PROCESS</code> is also issued.


[[Category:Sirius Mods messages]]
{{Template:MSIR.0244 footer}}
[[Category:MSIR.0200 - MSIR.0399]]

Latest revision as of 23:08, 3 March 2017

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