Check for the expiration date of the file

The system can verify that the data in the file you specify is still current. However, you can specify the expiration date for the file using the EXPDATE and EXPCHK parameters.

You can specify the expiration date for a file or member using the EXPDATE parameter on the create and change file commands. You can specify whether the system is to check that date using the EXPCHK parameter on the Override with Database File (OVRDBF) command. If you do check the expiration date and the current date is greater than the expiration date, a message is sent to the system operator when the file is opened.

Related concepts
Expiration date