Previous Topic: VMBCPY UtilityNext Topic: VMBMCOPY Utility


Comparing VMBCPY to COPYFILE

VMBCPY error messages and return codes are compatible with COPYFILE.

Unlike COPYFILE, the default VMBCPY option is OLDDATE. This allows the following instructions to be used to clean an entire minidisk:

listfile (exec
cms vmbcpy

If a disk-full situation occurs while VMBCPY is executing the above procedure, a recoverable write error results. The file that caused the disk-full situation is bypassed, and VMBCPY attempts to copy the remaining files.

Unlike COPYFILE, VMBCPY does not allow asterisks to be specified in the input filename and filetype. This restriction can be circumvented by using CMS EXECs in combination with VMBCPY.