JCL

The following sample JCL can be used as a guide to help develop JCL for your maps meeting your mapping requirements and the standards at your z/OS site.

The z/OS Batch Command Server is called DTXCMDSV.

//* The program to be executed is DTXCMDSV.  The command line is passed in the
//* PARM statement. The map to be executed is MYMAP, which has one input,
//* MYINPUT and one output, MYOUTPUT.  The map and all its datasets are
//* accessed through ddnames.
//*
//STEP1 EXEC PGM=DTXCMDSV,PARM='MAPPDS(MYMAP) /P256:12 /TS'
//*
//*  The ddname MAPPDS identifies the partitioned dataset
//*  where HCL Integration Platform maps are stored.  MYMAP is the member.
//*
//MAPPDS DD DSN=MY.MAPPDS,DISP=SHR
//DTXLOG DD SYSOUT=*   Execution log
//DTXAUD DD SYSOUT=*   Audit
//DTXTRCE DD SYSOUT=*   Map Trace
//DTXDEBG DD SYSOUT=*   Map Debug listing
//DTXMRN DD DSN=USER.TEST(RES1MRN),DISP=SHR
//SYSPRINT DD SYSOUT=*   Used by LE
//SYSOUT DD SYSOUT=*   Used by LE
//CEEDUMP DD SYSOUT=*   Used by LE
//*
//* STEPLIB identifies the load library where HCL Integration Platform was
//* installed.
//* It identifies the Language Environment library if it is not in the link list.
//*
//STEPLIB DD DSN=MY.LOADLIB,DISP=SHR
//        DD DSN=CEE.SCEERUN,DISP=SHR
//*
//* The map's output.
//*
//MYOUTPUT DD DSN=MY.OUTPUT,
//            DCB=(RECFM=VB,LRECL=256),
//            UNIT=SYSDA,SPACE=(TRK,(5,1)),
//            DISP=(NEW,CATLG,DELETE)
//*
//* The map's input.
//*
//MYINPUT DD DSN=MY.INPUT,DISP=SHR
//*
//* Static temporary dataset allocations.
//*
//SYSTMP01 DD DSN=&&TEMP01,DISP=(NEW,DELETE,DELETE),
//            DCB=(RECFM=FBS,LRECL=23476),
//            UNIT=VIO,SPACE=(TRK,(5,1))
//SYSTMP02 DD DSN=&&TEMP02,DISP=(NEW,DELETE,DELETE),
//            DCB=(RECFM=FBS,LRECL=23476),
//            UNIT=VIO,SPACE=(TRK,(5,1))
//SYSTMP03 DD DSN=&&TEMP03,DISP=(NEW,DELETE,DELETE),
//            DCB=(RECFM=FBS,LRECL=23476),
//            UNIT=VIO,SPACE=(TRK,(5,1))
//SYSTMP04 DD DSN=&&TEMP04,DISP=(NEW,DELETE,DELETE),
//            DCB=(RECFM=FBS,LRECL=23476),
//            UNIT=VIO,SPACE=(TRK,(5,1))
//SYSTMP05 DD DSN=&&TEMP05,DISP=(NEW,DELETE,DELETE),
//            DCB=(RECFM=FBS,LRECL=23476),
//            UNIT=VIO,SPACE=(TRK,(5,1))