Download User Guide - Centerfield Technology

Transcript
Restore Examples
In all of these examples, we have done a SAVLIB of QTEMP. We now want to
restore the object from CD-ROM.
Root directory, image name same as library name
CD-ROM path\image: \QTEMP
Restore command: RSTLIB SAVLIB(QTEMP) DEV(*OPT)
Alternative 1: RSTLIB SAVLIB(QTEMP) DEV(*OPT) OPTFILE(‘/’)
Alternative 2: RSTLIB SAVLIB(QTEMP) DEV(*OPT) OPTFILE(‘/QTEMP.;1’)
Subdirectory, image name same as library name
CD-ROM path\image: \AS400\QTEMP
Restore command: RSTLIB SAVLIB(QTEMP) DEV(*OPT)
OPTFILE(‘/AS400/’)
Alternative 1: RSTLIB SAVLIB(QTEMP) DEV(*OPT)
OPTFILE(‘/AS400/QTEMP.;1’)
Subdirectory, image name different than library name
CD-ROM path\image: \AS400\QTEMPV37
Restore command: RSTLIB SAVLIB(QTEMP) DEV(*OPT)
OPTFILE(‘/AS400/QTEMPV37.;1’)
Data preparation commands
For a save-restore based CD-ROM, the iSeries save data must be prepared in a special
unformatted format that can be converted to ISO-9660.
You can use these commands to prepare a tape for CD-ROM and use the CD-ROM
Studio for iSeries Windows client to create the actual ISO-9660 images.
Start CD-ROM Premastering Mode (STRCDP)
Prepares the current iSeries job for creating unformatted save/restore data. Once
this command is issued, all subsequent SAVxxx operations will produce
unformatted save/restore data when writing to tape.
End CD-ROM Premastering Mode (ENDCDP)
63