Example: Generating DBD maps

The following figure shows example JCL for running a job that generates maps of multiple DBDs.

If a dbdname is not followed by characters, both a map and report are produced for each DBD. If a dbdname is followed by ,X or a comma and any other character, only a map is produced for the DBD; the report for it is omitted.

Figure 1. Example of generating DBD maps
//DBDMAP  EXEC PGM=FABMMAIN
//STEPLIB   DD DSN=HPS.SHPSLMD0,DISP=SHR
//DBDLIB    DD DSN=IMSVS.DBDLIB,DISP=SHR
//SYSOUT    DD SYSOUT=A
//SYSPRINT  DD SYSOUT=A
//SYSIN     DD *
    DBD=BE1PARTS,X
    DBD=BE2LORDR
    DBD=BE2LPART,X
    DBD=BE2ORDER
    DBD=BE2ORDRX,X
    DBD=BE2PARTS
    DBD=BE2PCUST,X
    DBD=B00INP01
    DBD=B00OUT01,X
/*