Select files to copy

Use the Select files to copy (SLTFILE) parameter to choose which files you want to copy.

Your options include:

*CHANGED is the default option. The system will determine if the source file already exists on the target volume. If so, the system will copy the source file only if the source file has changed since performing the last copy. Two sets of dates and times determine if a file has changed: Either the date and time the file was last changed, or the date and time the file attributes were last changed. Specifying DATA(*FILATR) on the Display Optical (DSPOPT) CL command can display these dates and times.

*ALL indicates that the system will copy all files on the source volume. The system will replace any files which may already exist on the target media by a new copy from the source volume.

*NEW indicates that the system will copy only files which are not currently on the target volume.

If the target volume already contains files, choosing the *CHANGED or *NEW option may result in a longer running CPYOPT request. This is because the system has to make a list of files for both the source and target volume, and then compare them. The time required to do this can become excessive when the volumes contain thousands of files.