Merge an Archvols with future date
search cancel

Merge an Archvols with future date

book

Article ID: 16646

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS DISK BACKUP AND RESTORE- ADD-ON OPTIO DISK BACKUP AND RESTORE

Issue/Introduction

During the year end testing with future date, created Archvol container files on disk which MERGE does not process as the time stamp has a future date. 
How to Merge an Archvol with future date?

Resolution

MERGE needs to be started with a future date set to any date after the archvol date, e.g. via IBM HourGlass for z/OS.
With a start date in the job card larger than the creation date of the container, the MERGE from DASD to TAPE will run. After this, restoring the file will work and a later TAPE to TAPE MERGE will also work without a future date set. 

The archive and expiration date of the contained files remain untouched.

Additional Information

In the beginning of the MERGE process, MERGE stumps the current date/time, and later compares that date/time to the Archvol date/time. If the current date/time is less than that of the Archvol, then the Archvol is considered 'new', and the Archvol is bypassed with a message 4012. For example:

ADSDM219 4012 ARCHIVE VOLUME RECORD (arckey) HAS CHANGED SINCE MERGE STARTED. VOLUME CANNOT BE PROCESSED

ADSDM219 4012 DATA SETS ON ARCHIVE VOLUME arckey HAVE BEEN BYPASSED  

This was designed to avoid selecting and Archvols created while MERGE was running. 
The 'DATE=' parm in the MERGE command statement is referenced by the data expiration processing and unfortunately it is not used to override the system date, even with 'INCLUDE', since the data/time is check before any of the command parameters are processed, the Archvol has already been bypassed.