Configuring JCL edit task for CP operation To enable in CP process JCL edit add to process environment ProcMan task jcl edit.
Example task that for jcl edit
Copy 'jcleditor' => array(
'action' => 'jcledit',
'button' => 'CUST_JCL_EDIT',
'seq' => 20,
),
This task displays for CP operation this dialog
It is possible to add JCL check and check JCL source with SmartJCL.
For usage of JCL check add to process environment setting 'jcl_check' => true and to process configuration interface i_tws_jck
Process environment settings with JCL check
Copy 'jcleditor' => array(
'action' => 'jcledit',
'button' => 'CUST_JCL_EDIT',
'jcl_check' => true,
'seq' => 20,
),
Process configuration for module m_tws_cp_opsel with JCL check
Copy array (
'name' => 't0110',
'type' => 'task',
'module' => 'm_tws_cp_opsel',
'input' => array (
'i_goto' => 'error=""',
'i_environment' => '',
'i_tws_cp_settings' => 'interrupt=true, limit="cp"',
'i_tws_ad_selection' => '',
'i_tws_jck' => 'jcl_check=true,template_index="jck_job_approve",hwm_parm=["ADHOC_DATE","ADHOC_TIME"], usr_parm =[par1="test1", par2="test2"]',
),
'output' => array (
'i_environment' => '',
'i_tws_ad_selection' => '',
)
),