Modifying the runtime JCL templates for z/OS

You can modify the templates to meet your installation requirements for preparing and running programs. These modifications are usually done by a system administrator or project leader. To modify the templates, create a new directory and copy all the templates from the default directory. Make your changes to the copies of the templates and not the original templates.

The runtime templates for z/OS® are located in the following default directory:
shared_resources\plugins\com.ibm.etools.egl.generators.cobol_version\MVStemplates
shared_resources
The shared resources directory for your product, such as C:\Program Files\IBM\SDP70Shared on a Windows system or /opt/IBM/SDP70Shared on a Linux system. If you installed and kept a previous version of an IBM® product containing EGL before installing your current product, you may need to specify the shared resources directory that was set up in the earlier installation.
version
The installed version of the plugin. If more than one is present, use the one with the most recent version number, unless you have a reason to use an older version.
The file type extension for the templates is always .tpl.

Because different projects can require different templates, it is important to have separate directories for each project. Each directory must contain copies of all the templates. Use the templateDir build descriptor option to specify the directory containing the templates to be used. If this option is not specified the templates in the default directory will be used.

Reasons to modify templates

You might need to modify templates for the following reasons:
  • Implementing installation data set naming conventions
  • Changing the name of the cataloged procedure being called
  • Assigning parameter values
  • Adding DD statements to the STEPLIB concatenation
  • Overriding DD statements
  • Adding or changing the REGION parameter for a step

Feedback