Previous Topic: Example 8b: Tape Map/Restore (Restore)Next Topic: Example 10: Recover Unloaded Backup


Example 9: Sequential Copy of the Entire Database

In this example, the database is unloaded for backup purposes. The unloaded backup is a sequential data set on tape.

The following job unloads the database:

//UNLOAD   JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARDBASE
//STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//SARUNLD  DD  DSN=VIEW.UNLOAD,DISP=NEW,
//         UNIT=TAPE,DCB=(RECFM=VB,
//         LRECL=32756,BLKSIZE=32760)
//SYSIN    DD  *
NAME VIEW.SYSTEM1
UNLOAD
/*