HPlogo Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00): HP 3000 MPE/iX Computer Systems > Chapter 9 Year 2000 Enhancements

RPG/iX 4-Digit Year Enhancement

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

by Sue Meloy Software and Services Group

*DATE and *YEAR

RPG/iX version A.00.18 contains support for new predefined fields that return a 4-digit year. *DATE is analogous to UDATE, except that the year is 4 digits instead of 2 digits. In the same way, *YEAR is analogous to UYEAR.

RPGUDATE

The RPGUDATE file format has also been changed to allow a 4-digit year.

Documentation Changes

There are a number of changes to the HP RPG/iX Reference Manual that describe the new functionality. See the article, "Documentation Changes for MPE/iX Languages" in Chapter 9 for more information.

Compatibility with Previous Versions

If 4-digit years are used in the RPGUDATE file, RPG/iX programs must be run using the new RPG/iX library.

Programs that reference the new *DATE and *YEAR fields must be compiled with the new RPG/iX compiler and run with the new RPG/iX library.

Programs that were compiled with previous versions of the RPG/iX compiler can be run using the new RPG/iX library without recompilation.

Feedback to webmaster