GLBL statement examples
In the following example control statement data set, the GLBL statement specifies the names of the production DBD, PSB, and ACB libraries. Therefore, the MAP and DECODE statements do not need to specify them.
//DBISYSIN DD *
GLBL DBDLIB(IMSP.DBDLIB) -
PSBLIB(IMSP.PSBLIB) -
ACBLIB(IMSP.ACBLIB)
MAP PSB(HDAMAP01) -
DBD(CUSTOMER) -
ACB(HDAMAP01,CUSTOMER)
DECODE DBD(CUSTOMER)In the following job step fragment, Database Integrity maps all of the DBDs in the test DBD library. It disassembles all of the DBDs in a user DBD library. It reports on all of the DBDs in the test library.
//DBDLIB DD DSN=IMSP.DBDLIB
. . .
//DBISYSIN DD *
GLBL DBDLIB(IMST.DBDLIB) . . .
MAP DBD(ALL)) . . .
DECODE DBDLIB(USER.DBDLIB) DBD(ALL) . . .
REPORT DBD(ALL) . . .
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*