Example of using DFHBMSUP

Figure 1 shows the statements required to process a BMS mapset load module, BMSET01, which is in the INPUT.BMSLIB library. Macro statements are generated and written to the MAPOUT member of the OUTPUT.MACLIB library.
Figure 1. DFHBMSUP—generating BMS macro statements.
//********************************
//* RUN THE DFHBMSUP PROGRAM     *
//*    INPUT BMSET01             *
//*    OUTPUT MAPOUT             *
//*                              *
//********************************
//*
//RUNPROG  EXEC PGM=DFHBMSUP,PARM='BMSET01',REGION=2M
//STEPLIB  DD DSN=CICSTS54.CICS.SDFHLOAD,DISP=SHR
//BMSOUT   DD DSN=OUTPUT.MACLIB(MAPOUT),
//         DISP=SHR
//DFHRPL   DD DSN=INPUT.BMSLIB,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//*