Setting up Z Data Tools to use a template repository

A template repository is a VSAM file that contains cross-references of data sets, CICSĀ® files (including CICS TS and CICS TD queues), path names, and Websphere MQ queue names to their respective templates.

There are two ways to identify the template repository to a Z Data Tools session:
  • Customizing HFM4POPT
  • Allocating the TPREPOS ddname to the data set name

Customizing HFM4POPT

This options module is used for the repository definition. There is one keyword: REPOS=template.repostry.dsn

Where template.repostry.dsn is the name of the template repository file that has been defined using Z Data Tools ISPF option 7.7.1.

You can find the HFM4POPT macro statement in HFM.SHFMSAM1(HFM4POPT). Change the options as follows:

  1. Copy the member HFM4POPT from HFM.SHFMSAM1 into your own source library.
  2. Change the default options in your copy of the HFM4POPT member as required.
  3. Modify the HFM4UMDP 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 HFM4UMDP.
Note: You can also use the sample job HFM4POPH to assemble HFM4POPT if you do not want to use SMP/E.

Allocating TPREPOS

The ddname TPREPOS will take precedence over the options module if it is present when the repository name is determined. It can be allocated to a TSO/ISPF session or specified as a DD card to a batch job. You can also add a DD specification to the CONFIG=ZDT for Z Data Tools tasks that require the ZCC server: