Sample JCL
When you build a map for the IBM z/OS platform, a job control language (JCL) template is generated in the map directory.
The JCL template is customized with information about the executable map
(mapname.jcl), including the map name, input file name, and output file name. The
following example JCL template was created by the Map Designer based on the following files:
- sinkmap.mtt
- sinkmap.mms
- employee.txt
- allemps.txt
//DTXSMJCL JOB
//*******************************************************************
//* Sample JCL to execute the SINKMAP map using the
//* Transformation Extender Command Server for z/OS (OS/390).
//*
//***************************************************************
//* MODIFY THE FOLLOWING GLOBAL VARIABLES FOR YOUR INSTALLATION
//*
// SET DTXLIB=DTX.SDTXLOAD <== DTX LOAD LIB
// SET MAPLIB=DTX.SDTXSAMP <== DTX MAP DSN
// SET EMPLOYEE=DTX.SDTXMAPS(DTXSMTXT) <== EMPLOYEE FILE
// SET ALLEMPS=DTX.SDTXMAPS(DTXAETXT) <== ALLEMPS FILE
// SET CLASS=* <== SYSOUT CLASS
//*
//*
//* NOTE: If the LE runtime library is not in the MVS LINKLIST,
//* the LE runtime library must be added to the STEPLIB
//* concatenation.
//*
//********************************************************************
//* This job will execute the sample SINKMAP map using the
//* Transformation Extender Command server program.
//* The map output is directed to sysout.
//*
//DTX EXEC PGM=DTXCMDSV,REGION=48M,
//PARM='SINKMAP -IF1 ALL_EMPL -IF2 EMPLOYEE -OF1 WEEK -OF2 TTLHOURS
//-OF3 EMP_HOUR'//STEPLIB DD DISP=SHR,DSN=&DTXLIB;
//** Transformation Extender SINKMAP example map
//SINKMAP DD {specify map location here }
//* Transformation Extender Log/Audit/Trace/Debug outputs
//DTXLOG DD SYSOUT=&CLASS;
//DTXAUD DD SYSOUT=&CLASS;
//DTXTRCE DD SYSOUT=&CLASS;
//DTXDEBG DD SYSOUT=&CLASS;
//*
//SYSPRINT DD SYSOUT=&CLASS;
//SYSUDUMP DD SYSOUT=&CLASS;
//CEEDUMP DD SYSOUT=&CLASS;
//*
//** Map inputs
//ALL_EMPL DD {specify location here } DISP=SHR,DSN=&ALL_EMPL;
//EMPLOYEE DD {specify location here } DISP=SHR,DSN=&EMPLOYEE;
//** Map outputs
//WEEK DD {specify location here } SYSOUT=&CLASS;
//TTLHOURS DD {specify location here } SYSOUT=&CLASS;
//EMP_HOUR DD {specify location here } SYSOUT=&CLASS;
//** Transformation Extender work files
//SYSTMP00 DD DSN=&&TEMP00;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP01 DD DSN=&&TEMP01;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP02 DD DSN=&&TEMP02;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP03 DD DSN=&&TEMP03;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP04 DD DSN=&&TEMP04;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP05 DD DSN=&&TEMP05;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP06 DD DSN=&&TEMP06;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP07 DD DSN=&&TEMP07;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP08 DD DSN=&&TEMP08;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*
//SYSTMP09 DD DSN=&&TEMP09;,DISP=(,DELETE,DELETE),
// DCB=(RECFM=FBS,LRECL=23476,BLKSIZE=23476),
// UNIT=SYSDA,SPACE=(TRK,(20,1),RLSE)
//*