-
New Install Options. New options
*BASIC2, *INTERMED and *CUSTOM are now supported for the
automatic install option on the Create CD Image command.
Automatic install allows a user to restore the data from your
CD set by inserting the first CD and keying
LODRUN *OPT.
With the *BASIC option, CD Builder includes an install
program on your CD which will restore each saved library when a
user runs the LODRUN command.
*BASIC2 is similar to *BASIC, except that MBROPT(*ALL)
and ALWOBJDIF(*ALL) are specified when restoring each library.
In addition, the installing user is prompted to sign off and
sign back on with a different profile if they do not have
*ALLOBJ special authority. This option is useful for restoring
libraries that contain source files and other multi-member
files.
The *INTERMED option allows you to have more control over
how the libraries on the CD set are restored, without requiring
complicated programming. At install time, CD Builder sets up
the environment and then calls a user-specified program once for
each library to be restored. The user install program can set
the restore parameters as necessary for each library, and can
perform any necessary actions before and after each library is
restored.
The *CUSTOM option gives the programmer complete control
over the restore. When a user runs the LODRUN command at
install time, control is passed directly to your custom program.
-
Sample Source. Source for
several types of automatic install programs is now
included. See file SAMPLES in library CDB.
-
Generic Names. Generic library
names (such as test*) may now be specified on the Create
CD Image command, making it easier to include several
libraries that all have a common prefix.
-
Better Messages. Messages
prompting the user to insert a CD now refer to a
specific CD number in a multi-CD set ("Insert CD number
3 into OPT01") rather than simply the "next" CD.
Also, at CD mastering time, you can now specify the
message queue to which install-time messages should be
sent. Special values include *SYSOPR, *USRPRF and
*WRKSTN (system operator, user profile, workstation.)
-
New Commands. Two commands are
now available for use by automatic installation
programs:
Restore CDB Install Parameters (RSTCDBPARM)
Check for File on CD (CHKFCDB)
The RSTCDBPARM command is used at CD install time to
restore parameters values into library QTEMP that can be
used by CD Builder to tailor the install process.
The CHKFCDB command can be used within an install
program to ensure that the proper CD is loaded, and to
prompt the user to load a different CD if necessary.
-
Restoring Large Libraries. The
following new parameters have been added to the Restore
Large Library (RSTLIBCDB) command, making it easier for
install programs to control how libraries are restored:
Database member option (MBROPT)
Allow object differences (ALWOBJDIF)
Auxiliary storage pool ID (RSTASP)
-
New Error Threshold. You can
now specify a number or *NOMAX for the number of errors
that may be encountered during the creation of your CD
image before CD Builder aborts the process. Previously,
CD image creation would halt if a single error was
detected when adding a library to the image. The new
ERRLVL parameter allows you to continue creating the
image if, for example, a single object is locked and
could not be saved. A final message indicates the
number of errors that were encountered, and special
messages are placed in the job log to highlight the
errors.
-
QPGMR No Longer Required.
Previously, QPGMR authority or greater was needed to
create a CD image or to restore certain CD images with
LODRUN. This is no longer the case. Now, any user that
is authorized to the necessary libraries, OS/400
commands and CD Builder commands can create CD images
and restore from those images.
|