The CPYOPT command does not allow you to specify an ending date and time. The system always uses the date and time of the copy request as the ending date and time.
Therefore, the system uses the date and time of the request for the complete ending date and time for a backup directory or volume.
The definition of the ending date and time field has two parts. First, this date is the last time a CPYOPT command completed for the directory or volume with no failures. Second, the complete ending date and time will not update if the range of the request does not overlap the existing range. This is true even if all eligible files copy successfully.
Ending Date and Time — Scenario: On 1 July 1999, the user issued the CPYOPT command for directory /DIR1 that specifies 1 February 1999 as the starting date. If all eligible files successfully copy, the system sets the complete starting date for the backup directory /DIR1 to 1 February 1999. The system sets the complete ending date to 1 July 1999.
Now, the system issues a second CPYOPT command for directory /DIR1 on 15 September 1999, specifying 1 June 1999 as the starting date. If all eligible files successfully copy, the complete starting date for backup directory /DIR1 remains 1 February 1999. The complete ending date is moved out to 15 September 1999. This is the normal situation that takes into account only the first part of the definition above.
On 1 December 1999, the user issues the CPYOPT command again for the /DIR1 directory. This time the use specifies 1 October 1999 as the starting date. Even if all eligible files copy successfully, the complete range will not change. The complete range cannot be expanded to include the new ending date. This is because the files that were created or changed between 15 September 1999 and 1 October 1999 are not accounted for.