Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)

Chapter 9 143
Year 2000 Enhancements
Documentation Changes for MPE/iX Languages
Table 9-9 DATE Field Descriptions
NOTE At the point that editing is done, there is no way for RPG to tell that the
original field was a 4-digit year and not a truncated date. Therefore, the
edited output for *YEAR will be of the form nn/nn, as described in the
documentation for Edit Code (column 38).
In the Output Specifications chapter, make the following changes to
Edit Code (Column 38):
In the Description for the Y edit code field, change the maximum
field length to 8, and add the specification for field lengths 7 and 8:
Slash marks can be used with fields having three to eight digits as
follows:
Table 9-10 Edit Code Fields
Field
Name
Contents
Unedited
Example
Edited
Example
Description
*DATE Current date
with 4-digit
year
10111988 10/11/1988 October 11, 1988
(Domestic Format)
11101988 11/10/1988 October 11, 1998
(United Kingdom
Format)
11101988 11.10.1988 October 11, 1988
(European Format)
*YEAR Current
4-digit year
1988 19/88 1988
Field length Edited output
7 nn/nn/nnn
8 nn/nn/nnnn