Batch map examples


The examples in this section illustrate how to specify the control statements to do various mapping tasks.

In these examples, the DD statements to provide library names are not coded.

  • The following control statement maps the database PCBs in PSB HDAMAP01 in the test library. The DBDs referred to by the PCBs are also mapped.

    MAP PSB(HDAMAP01)       -
        PSBLIB(IMST.PSBLIB) -
        DBDLIB(IMST.DBDLIB) -
        RELATED(YES)
  • The following control statement maps all of the DBDs starting with the characters CUST in the production library.

    MAP DBD(CUST*)          -
        DBDLIB(IMSP.DBDLIB)
  • The following control statement maps all of the ACBs in the production library and produces the optional control block reports:

    MAP ACB(ALL)             -
        ACBLIB(IMSP.ACBBLIB) -
       XREPORT(YES)
  • The following control statement shows how to map a single directory entry from the current directory library.
MAP     DIRLIB(IMSP.MACB.BSDS) DIR(HDAMAP01)


  • The following example shows how to use a pattern to select members to map. It maps all production DBDs that contain CST in the third through sixth positions.

    MAP DBD(++CST*) -
        DBDLIB(IMSP.DBDLIB)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Database Integrity for IMS 5.2