Generate JCL with Easytrieve Language Support in VSCode
search cancel

Generate JCL with Easytrieve Language Support in VSCode

book

Article ID: 275282

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

When open the Easytrieve source code on VSCode and right-click and select "Easytrieve Language Support - Generate JCL", the JCL is automatically generated.

However, OPTCRE STEP and EZOPTBL DD are not required.
Is it possible to customize the template JCL?

Environment

Release : 6.4 and above

Resolution

Execute the following process to customize the template.

1. Select settings from gear(Manage) mark.
2. Select Easytrieve Language Support from Extensions.

3. Input the Cbaaload and Eztoptbl.

4. Go to your EZT vs code extension directory.
   For example, "C:\Users\root\.vscode\extensions\broadcommfd.easytrieve-n.n.n\resources"

5. Open the template.jcl file in the resources folder.

6. Update it as follows.
* Change the EZOPTBL DD to DUMMY.
* Delete ###// from ###//SYSPRINT DD of COMPGO STEP.
* Save it.


 :
 :
//SYSIN    DD *
###//COMPGO   EXEC PGM=EZTPA00
//STEPLIB  DD DISP=SHR,DSN={{cbaaload}}
###//         DD DISP=SHR,DSN=
###//EZTVFM   DD UNIT=SYSDA,
//            SPACE=(4096,(1000,1000))
//EZOPTBL  DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSOUT   DD SYSOUT=*
//SYSIN    DD {{{sysin}}}


7. Genarate JCL.