MSIR.0349 New CENTSPAN/SPANSIZE ((cspan1)/(spansz1)) does not fully contain old values ((cspan2)/(spansz2)): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "This message indicates that a SIRFIELD FORMAT command was issued with the CENTSPAN or SPANSIZE keywords, and that the command could not succeed because the resulting valid range ...")
 
(Automatically generated page update)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This message indicates that a SIRFIELD FORMAT command was issued with the CENTSPAN or SPANSIZE keywords, and that the command could not succeed because the resulting valid range of dates does not contain all of the valid dates previously established for the field.  
This message indicates that a SIRFIELD FORMAT command was issued with the CENTSPAN or SPANSIZE keywords, and that the command could not succeed because the resulting valid range of dates does not contain all of the valid dates previously established for the field.  


The valid range of dates of a two-digit year field is from the (effective) CENTSPAN for a period of years equal to SPANSIZE. A SIRFIELD FORMAT command may:
The valid range of dates of a two-digit year field is from the (effective) CENTSPAN for a period of years equal to SPANSIZE. A SIRFIELD FORMAT command may:


<ol> <li>increase SPANSIZE, up to its limit of 100 <li>decrease the effective CENTSPAN, but the same command must increase SPANSIZE by the amount that CENTSPAN is being decreased</ol>  
<ul>  
<li>increase SPANSIZE, up to its limit of 100  
<li>decrease the effective CENTSPAN, but the same command must increase SPANSIZE by the amount that CENTSPAN is being decreased
</ul>  


These changes allow you to increase, but not "shift", the range of valid dates established for a field. Any other changes to CENTSPAN or SPANSIZE are not allowed.  
These changes allow you to increase, but not "shift", the range of valid dates established for a field. Any other changes to CENTSPAN or SPANSIZE are not allowed.  


If you wish to "shift" the range of dates, you must re-INITIALIZE the file, change the CENTSPAN and/or SPANSIZE values on the earlier SIRFIELD FORMAT commands which included the dates you wish to "shift out", and re-execute the series of SIRFIELD commands for the file.  
To "shift" the range of dates, you must re-INITIALIZE the file, change the CENTSPAN and/or SPANSIZE values on the earlier SIRFIELD FORMAT commands which included the dates you wish to "shift out", and re-execute the series of SIRFIELD commands for the file.  


The command is rejected.
The command is rejected.


[[Category:Sirius Mods Messages]]
{{Template:MSIR.0349 footer}}
[[Category:MSIR.0200 - MSIR.0399]]

Latest revision as of 23:08, 3 March 2017

This message indicates that a SIRFIELD FORMAT command was issued with the CENTSPAN or SPANSIZE keywords, and that the command could not succeed because the resulting valid range of dates does not contain all of the valid dates previously established for the field.

The valid range of dates of a two-digit year field is from the (effective) CENTSPAN for a period of years equal to SPANSIZE. A SIRFIELD FORMAT command may:

  • increase SPANSIZE, up to its limit of 100
  • decrease the effective CENTSPAN, but the same command must increase SPANSIZE by the amount that CENTSPAN is being decreased

These changes allow you to increase, but not "shift", the range of valid dates established for a field. Any other changes to CENTSPAN or SPANSIZE are not allowed.

To "shift" the range of dates, you must re-INITIALIZE the file, change the CENTSPAN and/or SPANSIZE values on the earlier SIRFIELD FORMAT commands which included the dates you wish to "shift out", and re-execute the series of SIRFIELD commands for the file.

The command is rejected.


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