Change the JCL and control card - Connect_ETL - 9.13

Connect ETL DMXMFJCL User Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect (ETL, Sort, AppMod, Big Data)
Version
9.13
Language
English
Product name
Connect ETL
Title
Connect ETL DMXMFJCL User Guide
Copyright
2023
First publish date
2003
Last updated
2023-09-11
Published on
2023-09-11T19:02:58.140000

When you replace a sort step with DMXMFJCL, you will need to make minor changes to the JCL and replace the contents of the control card or in-stream SYSIN. If you are replacing the JCL with a Connect ETL job you would change your SYSIN to be:

RUNJOB <job_file>

If replacing the JCL with a Connect ETL task you would use:

RUNTASK <task_file>
where <job_file> and <task_file> contain the path of your job or task respectively. The path can either be absolute, or relative to
DMXMFJCL_APPLICATION_DIR. 
DMXMFJCL will use the SORTIN, SORTJNF1, SORTJNF2, and SORTOUT DDs specified in the JCL job step, so you will not need to change the DD statements for most job steps. A sample conversion with inline SYSIN is provided below.
//MYJOB JOB,MSG
//STEP01 EXEC PGM=SORT
//SORTIN DD DSN=PROD.CUSTOMER.DATA,
// DISP=SHR
//SORTOUT DD DSN=PROD.CUSTOMER.DATA,
// DISP=(NEW,CATLG,DELETE)
//SYSOUT DD &OUTA
//SYSIN DD *
 SORT FIELDS=(1,10,CH,A)
 SUM FIELDS=NONE
 OUTREC=(1,10,20,40)
/*
//MYJOB JOB,MSG
//STEP01 EXEC PGM=DMXMFJCL
//SORTIN DD DSN=PROD.CUSTOMER.DATA,
// DISP=SHR
//SORTOUT DD DSN=PROD.CUSTOMER.DATA,
// DISP=(NEW,CATLG,DELETE)
//SYSOUT DD &OUTA
//SYSIN DD *
 RUNTASK C:\JOBS\MyJobSetp01.dxt
/*