DLBL
assgnsysO 1 0 d
dlbl ijsysuc d dsn mycat (permsys010 identifies the job (user) catalog, MYCAT, for the terminal session.
assgnsys100 e dlbl intest1 e dsn test case (vsam sys100 identifies a VSAM file to be used in a program. It is cataloged in the
job catalog,MYCAT. assgn sys101 f
dlbl cat3 f dsn testcat {cat ijsysctsys101 identifies an additional user catalog, which has an entry in the master
catalog.Since a job catalog is in use, you must use the CAT option to
indicate that another catalog, in this case the master catalog, should
be used.
dlbl infile f dsn test input (cat cat3sys101 identifies an input file cataloged in the user catalog TESTCAT, which
was identified with a ddname of CAT3 on the DLBL The selection of a VSAM catalog for AMSERV jobs and VSAM programs
running inCMS is summarized in Figure 7. IS THE CAT OPTION SPECIFIED ON THE
DLBLCOMMAND ? NO I IS THERE A
DLBLACTIVE FOR IJSYSUC ? NO USE THE
MASTERCATALOG YES YES USE THE CATALOG DEFINED BY
THAT DDNAMEUSE THE JOB CATALOG Figure 1. Determining Which VSAM Catalog to Use Section 2. CMS Commands 67
assgn
dlbl ijsysuc d dsn mycat (perm
assgn
job catalog,
dlbl cat3 f dsn testcat {cat ijsysct
catalog.
indicate that another catalog, in this case the master catalog, should
be used.
dlbl infile f dsn test input (cat cat3
was identified with a ddname of CAT3 on the DLBL
running in
DLBL
DLBL
MASTER
THAT DDNAME