Example JCL for Starting the SBEM

//STEP100 EXEC PGM=MDHLSBEM,DYNAMNBR=1500,

// PARM='POSIX(ON),TRAP(OFF),HEAPCHK(OFF),ENVAR("_CEE_ENVFILE=DD:DV")/'

//STEPLIB  DD  DISP=SHR,DSN=MDH.V1010.MDHLLIB

//         DD  DISP=SHR,DSN=MDH.V1010.MDHLLPA

//MDHSPARM DD  *

-a MVSnode

-p 4059

-b "BUILD"

-t DD:MDHSTRCE

/*

//*        main execution summary goes in here

//MDHSPRNT DD  SYSOUT=*

//*        only used if exit tracing is turned on

//MDHOUT   DD  SYSOUT=*

//*        trace from sBem

//MDHSTRCE DD  SYSOUT=*

//*        Environment variables for Dimensions listener

//DV       DD  DISP=SHR,DSN=MDH.DIM671.PARM(MDHTDIMV)

//*        Common BOM library for this run

//MDHBOM   DD  SYSOUT=*

//*        SYSIN data gets copied here

//MDHWORK  DD  DISP=(NEW,CATLG,CATLG),

//         DSN=&&TEMP01,

//         UNIT=SYSDA,DSNTYPE=LIBRARY,

//         DCB=(LRECL=80,RECFM=FB,BLKSIZE=3120,DSORG=PO),

//         SPACE=(TRK,(20,20,0))

//*        BOM template comes from here

//MDHTMPLT DD  DISP=SHR,DSN=MDHDEV.ISPF.TEMPLATE

//*        input JCL for execution - expanded script

//MDHSIN   DD  DATA,DLM='++'

<JCL stream>

++

The DD NAMEs are typically used as follows:

DD NAME

Purpose

MDHBOM

The data set where the bill of materials is produced. This bill of materials can be passed back to the build server to update relationships in the SCM configuration.

MDHOUT

The data set for SVC debugging output. Only used if you specify the -t parameter.

MDHSIN

The data set for the SBEM JCL primary input. Can be one of the following:

  • instream

  • DATA with DLEM

  • from a member

MDHSPRNT

The data set for the SBEM primary output; it lists the JCL being executed and identifies any statements that have an error. Also contains brief messages about the progress of the individual steps being executed.

MDHSTRCE

The data set for trace output. Use the -t parameter to specify another name.

MDHTMPLT

Points at the template library that is used to format the bill of materials. The bill of materials is generated based on the MDHBBOM0 template.

MDHWORK

The container used to hold instream data until it is needed. Instream data must be in 80 byte records.

MSHSPARM

The extension of the ’PARM=’ statement. Only columns 1-72 are used.

NOTE