5 Define the volume catalogs.
Use the AMS DEFINE command to define the general volume catalog hlq.VOLCAT.VGENERAL. The general VOLCAT is the default volume catalog and contains all of the library records as well as any volume records that do not reside in a specific volume catalog. This volume catalog must exist before any tape library can be defined.
If a large number of tape volumes have the same first character in the volume serial number, it may be advisable to define specific volume catalogs (hlq.VOLCAT.Vx), where x is the first character of the volume serial number.
See z/OS DFSMS Access Method Services Commands manual for more information on the DEFINE command and the z/OS DFSMS Managing Catalogs for more information on estimating the size of the catalogs. Keep in mind that each virtual tape server can contain thousands of volumes.
5a Define general volume catalog.
//DEFVCAT JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE USERCATALOG -
(NAME(hlq.VOLCAT.VGENERAL) -
VOLCATALOG -
VOLUME(338001) -
CYLINDERS(1 1))
/*
All other parameters are allowed to default.
5b Define specific volume catalogs.
//DEFVCAT JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE USERCATALOG -
(NAME(hlq.VOLCAT.VT) -
VOLCATALOG -
VOLUME(338001) -
CYLINDERS(1 1))
/*
All other parameters are allowed to default.
5c Connect the volume catalogs to the SMS complex.
Connect the volume catalogs to all other systems in the SMS complex that use the tape library.
Use the AMS IMPORT command to connect the general volume catalog, hlq.VOLCAT.VGENERAL and any specific volume catalog, hlq.VOLCAT.Vx.
IMPORT CONNECT VOLCATALOG OBJECTS((hlq.VOLCAT.VGENERAL) operands)
IMPORT CONNECT VOLCATALOG OBJECTS((hlq.VOLCAT.Vx) operands)
5d Define the RACF facility class profile.
Define the RACF facility class profile for access to the tape configuration database.
RDEFINE FACILITY STGADMIN.IGG.LIBRARY options
5e Authorize the storage administrator to the RACF facility class
PERMIT STGADMIN.IGG.LIBRARY CLASS(FACILITY) ACCESS(READ) ID(logonID)
See z/OS Security Server RACF Command Language Reference
for more information.