StorageTek Host Software Component 6 User Manual

Page of 718
Chapter 4. Utility Functions   225
1st ed., 6/30/04 - 312579601
 
Database Decompile (LIBGEN) Utility 
The Database Decompile utility provides a way to generate LIBGEN macro statements 
from an existing library control data set. 
Prerequisites 
The utility runs under the control of the SLUADMIN program and does not require the 
HSC to be running. 
Reasons for Running the Database Decompile Utility 
The following are possible reasons for running the Database Decompile utility to restore 
the LIBGEN for a library: 
• The LIBGEN for your library has been deleted, lost, or corrupted; you want to 
re-create the file to match your library configuration. 
• The SET utility is used to change the library configuration stored in the CDS; 
consequently, the original LIBGEN no longer matches the CDS. 
How the Database Decompile Utility Functions 
The utility performs the following processing to create the LIBGEN from the existing 
control data set. 
• opens the existing control data set and an output data set to hold the recreated 
LIBGEN data set 
• reads the control data set into buffers and determines validity of the existing control 
data set 
• locates host IDs generated for the library 
• extracts values from the control data set corresponding with LIBGEN macro 
parameters and re-creates the output of each LIBGEN macro. The re-creation follows 
the same required order as in LIBGEN generation (see ‘‘LIBGEN Macros’’ in the 
HSC Installation Guide for information about library generation). 
During the re-creation processing, various reads, calculations, and copies are 
performed. 
• If errors are encountered, appropriate messages are displayed (see the HSC Messages 
and Codes Guide for explanations of error messages) 
• Upon completion, the output LIBGEN deck is ready for configuration changes and 
reassembly for the SLICREAT program (see ‘‘Executing the SLICREAT Program’’ 
in the HSC Installation Guide for information on data set initialization using the 
SLICREAT program). 
Database Decompile