ILE COBOL Programmer's Guide

Long-Term Solution

To take your programs through the year 9999, you must eventually:

  1. Change applications to retrieve a 4-digit year instead of a 2-digit year, using one of the following methods:
  2. Increase the size of the data items that contain dates so that they can store a 4-digit year, or change the data items into date data items that hold a 4-digit year.
  3. Rebuild databases with 4-digit years.

However, there is a short-term solution that is easier.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]