Example 1. DUMP FULL

You can use DFSMSdss to dump the entire contents of a volume to tape or DASD, and have DFSMSdss restore the dump at a later time. Here, you can use the DFSMSdss DUMP FULL command. After you create a dump of the boot volume, you can restore the volume to multiple volumes as a way of making identical copies of the basic Linux® system.

On the DUMP 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 it.

Figure 1 shows an example of the JCL (the Linux volume has volser LNX200).
Figure 1. Sample JCL for dumping the contents of a volume.
//LXD2D1BB 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=TAPE,VOL=(PRIVAT,SER=111111),DISP=(NEW,CATLG),
//            DSN=TDS.DUMP200,LABEL=(1,SL)
//SYSIN    DD *  
 DUMP FULL INDDNAME(SOURCE) OUTDDNAME(TARGET) -
       ALLEXCP
/*

You can also dump to two or more output tapes at the same time, for example, if you wanted a backup and a copy of the backup for storage off-site.

Figure 2 shows an example of the JCL.
Figure 2. Sample JCL for dumping two or more output tapes at the same time.
//LXD2D1XX 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
//TARGET1  DD UNIT=TAPE,VOL=(PRIVAT,SER=111111),DISP=(NEW,CATLG),
//            DSN=TDS.DUMP200,LABEL=(1,SL)
//TARGET2  DD UNIT=TAPE,VOL=(PRIVAT,SER=222222),DISP=(NEW,KEEP),
//            DSN=TDS.DUMP200,LABEL=(1,SL)
//TARGET3  DD UNIT=3390,VOL=SER=WRKVOL,DISP=(NEW,KEEP),
//            DSN=TDS.DUMP200
//SYSIN    DD *  
 DUMP FULL INDDNAME(SOURCE) OUTDDNAME(TARGET1,TARGET2,TARGET3) -
              ALLEXCP  
/*