z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 5. COPY FULL COPYVOLID ALLEXCP

z/OS DFSMSdss Storage Administration
SC23-6868-01

You can create a backup copy of a Linux volume.

On the DFSMSdss COPY FULL command, include the COPYVOLID keyword to cause DFSMSdss to copy the volser to the new volume. When the copy operation completes, the two volumes are identical, including the volser. Because z/OS® allows only one volume with a particular volser to be online at a time, DFSMSdss varies offline the volume that was the target of the copy.

On the COPY FULL command, include the keyword ALLEXCP to cause DFSMSdss to process all of the data set or partition, even if unused. ALLEXCP is required; your data is not backed up if you do not specify ALLEXCP.

Figure 1 shows an example of the JCL.
Figure 1. Sample JCL for creating a backup copy of a Linux volume.
//LXD2C2BB JOB ,'IBMUSER',MSGLEVEL=(1,1),TIME=(5,0),REGION=4096K, 
//      MSGCLASS=H,CLASS=A
//STEPT02  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SOURCE   DD UNIT=3390,VOL=SER=LNX200,DISP=OLD
//TARGET   DD UNIT=3390,VOL=SER=LNX900,DISP=OLD
//SYSIN    DD *
 COPY  FULL INDDNAME(SOURCE) OUTDDNAME(TARGET) -
       COPYVOLID ALLEXCP 
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014