Previous Topic: 3.5.2 Build Database Unit Libraries

Next Topic: 3.5.2.2 Populate Database Unit Libraries (COPYLIBU)

3.5.2.1 Create Database Unit Libraries (COPYLIBS)


The job in sharedprefix.MICS.CNTL(COPYLIBS) is used to
allocate and initialize the database unit libraries by
copying initial program, control, and data members from the
database complex shared libraries.  This job should be edited
to review and complete the parameters on the EXEC statement.
DO NOT change the parameters on the PROC statement.  The EXEC
statement follows:

//LOAD  EXEC LOAD,DSP=NEW,      <-- NEW IF UNIT DOESN'T EXIST
//*                                 OLD IF UNIT EXISTS
//           DUNIT=MICSDASD,    <-- IS DASD UNIT OK
//           DVOL=,             <-- DO YOU NEED DASD VOL
//           BLOCK=6160,        <-- LIBRARY BLKSIZE
//           PREFIX='_______',  <-- REQUIRED --<<
//           PMICS='MICS.'      <-- PREFIX MICSLEVEL

where the parameters are:

DUNIT, DVOL, BLOCK

    The unit, volume serial number, and blocksize to be used
    for the production libraries.

PREFIX

    The prefix for the database unit.  Note that this is
    specified with no trailing period (e.g., DB1.SP rather
    than DB1.SP.).

PMICS

    The "MICS" level of the standard CA MICS data set names.
    If you do not want this as part of your data set names,
    you may specify PMICS= ,to set it to null.  Note that a
    non-null entry for PMICS must end with a period.  Also,
    if you plan to not use "MICS" as part of your data set
    names, refer to the discussion of NOMICSLEVEL in section
    2.3.1.6.1.

We recommend that the libraries be allocated to a single DASD
volume and that the volume be maintained online.  By keeping
the libraries on the same DASD volume, you reduce the risk of
a DASD volume restore back-leveling one or more unit
libraries while leaving other unit libraries unchanged.

Note, the database unit libraries are used (and must be
online) during database update, production or ad hoc
reporting, for MICF or Q&R inquiry, etc.

After editing the job to create the unit database libraries,
submit it:

             SUB 'sharedprefix.MICS.CNTL(COPYLIBS)'

IMPORTANT:  The libraries created by this job are not copied
from their similarly-named complex level libraries.  This
means that changes made to the complex level libraries are
not carried forward to the database unit libraries.  You must
NOT modify the sharedprefix.MICS.HOLD.PARMS library, as this
library is designed to receive maintenance from CA and must
therefore be considered static.

Distribution libraries that are permanently allocated to the
database unit are:

     prefix.MICS.CNTL
     prefix.MICS.MUOLIB
     prefix.MICS.PARMS
     prefix.MICS.USER.SOURCE

These libraries use approximately 10 Megabytes of DASD space
if all CA MICS products are installed in the unit.

Data sets that are permanently allocated to the database
unit are:

     prefix.MICS.CHECKPT.DATA
     prefix.MICS.DAYS
     prefix.MICS.DETAIL
     prefix.MICS.IMSSUS1 (if IMS Analyzer is licensed)
     prefix.MICS.IMSSUS2 (if IMS Analyzer is licensed)
     prefix.MICS.MONTHS
     prefix.MICS.RESTART.CNTL
     prefix.MICS.WEEKS
     prefix.MICS.YEARS

COPYLIBS copies initial program, control, and data members
from the following CA MICS Platform libraries into the
libraries it creates for the new unit:

     sharedprefix.MICS.HOLD.PARMS
     sharedprefix.MICS.HOLD.USER.SOURCE