Tailoring the job control skeletons

Several dialogs in ZDT/IMS generate JCL for batch functions. If you want these dialogs to generate JCL that will run at your installation, appropriate job control must be provided. This is done by means of the installation options, the Settings panels, and a job control skeleton.

HFM1FTEX

A sample job control skeleton for ZDT/IMS is in HFM.SHFMSLIB(HFM1FTEX). You might need to change the following DD statements in the sample skeleton:

  1. The STEPLIB DD statement specifies DSN=&HFMSMOD1. ZDT/IMS sets &HFMSMOD1 to either the value specified for the LOADLIB parameter in the HFM1POPT module (when specified) or HFM.SHFMMOD1 (otherwise). So if you haven't installed Z Data Tools into the default target libraries, you need to specify the name of the target Z Data Tools load library in the LOADLIB parameter or modify this DD statement.
  2. The HFM1JIN DD statement specifies DSN=&HFM1SLIB. ZDT/IMS sets &HFM1SLIB to either the value specified for the SKELLIB parameter in the HFM1POPT module (when specified) or HFM.SHFMSLIB (otherwise). So if you haven't installed Z Data Tools into the default target libraries, you need to specify the name of the target Z Data Tools skeleton library in the SKELLIB parameter or modify this DD statement.
  3. The STEPLIB DD statement in this skeleton also concatenates two other statements
    //*        DD DSN=IGY.SIGYCOMP,DISP=SHR
    //*HFMCOB  DD DUMMY     Uncomment to force use of ZDT COBOL Compiler
    which appear as comments in HFM1FTEX.

    In the first statement shown above, IGY.SIGYCOMP is the supported, licensed COBOL compiler library. Some batch functions which make use of COBOL require this library. If you did not add your supported COBOL compiler library to your LINKLIST, remove the * to uncomment the line, and change the DSN to the name of your COBOL compiler library. All currently supported versions of IBM® Enterprise COBOL for z/OS® and OS/390® are supported by Z Data Tools.

    If you have created a COBOL compiler library for Z Data Tools with a special version of IGYCDOPT, you can use this DD statement to make it available to ZDT/IMS for all batch jobs using COBOL templates. See Using COBOL compiler options with Z Data Tools for information about a special version of IGYCDOPT for Z Data Tools.

    Z Data Tools provides an internal version of the COBOL compiler, for use in preference to a supported COBOL compiler, or when a supported COBOL compiler is not available to Z Data Tools. (See Using the Z Data Tools COBOL compiler.)

If you need to modify the HFM1FTEX job control skeleton, do this:

  1. Copy the member HFM1FTEX from HFM.SHFMSLIB to your own source library.
  2. Modify the HFM1FTEX member in your own library as required.
  3. Modify the HFM1UMDB member in HFM.SHFMSAM1 to meet your site's requirements. Refer to the usermod for information about changes you might need to make.
  4. Install SMP/E usermod HFM1UMDB.
Note: ZDT/IMS does not provide support for the automatic generation of job routing control statements in the JCL generated by HFM1FTEX.