Previous Topic: MoveNext Topic: Restore


Copy

The COPY feature copies VSAM objects to another location on disk as additional VSAM files with a different data set name. The resulting VSAM objects assume a new data set name, and the original input VSAM objects are not deleted.

The COPY feature is invoked by the execution of the GVMOVCPY program. This program performs the same functions as the GVEXPORT and GVRESTOR, so the single function for the COPY is the same as for both GVEXPORT and GVRESTOR. COPY performs the export and restore as a single function.

The two main parameters to the COPY operation are COPY and OUTPUT. COPY performs and controls the GVEXPORT functions, and OUTPUT performs and controls the GVRESTOR functions.

Note: For more detail on EXPORT, see the Export section of this chapter, and the chapter, "EXPORTING." For more detail on RESTORE, see the Restore section of this chapter, and the chapter, "RESTORING."