Defining all Db2® systems that ZDT/Db2 will access in HFM2POPT (required)

Before you can use ZDT/Db2, you must define to ZDT/Db2 the Db2® subsystems, or Db2® data sharing groups, which ZDT/Db2 will use.

To do this you must provide an HFM2SSDM macro for each required subsystem, to be included in the ZDT/Db2 options macro, HFM2POPT. If you are using Db2® data sharing groups, you must also provide an HFM2SSDM macro for each data sharing group id.

If your site uses Db2® data sharing groups, review the explanatory information for the LIST parameter of the HFM2POPI macro in LIST. This information explains how ZDT/Db2 determines the Db2® systems that are candidates for connection on the local z/OS® server.

You must then install HFM2POPT on your ZDT/Db2 system, using the usermod HFM2UMDP. HFM2SSDM describes the syntax of the options in HFM2SSDM. See Changing the default options for information about other changes to make to HFM2POPT and how to install your version of HFM2POPT.

Each HFM2SSDM macro describes one subsystem or data sharing group. You can provide as many HFM2SSDM macros as you require in one HFM2POPT macro. You can specify an HFM2SSDM macro for any supported version of Db2® in the same HFM2POPT macro.

If your environment includes many Db2® subsystems, you can optionally specify whether ZDT/Db2 displays all Db2® subsystems on the subsystem selection menu, or only those systems that are currently active. You can also restrict which Db2® subsystems ZDT/Db2 will attempt to connect to. To do this, you specify an HFM2POPI macro and include it in HFM2POPT. HFM2POPI describes the syntax of the options in HFM2POPI.

You can also optionally provide site-specific initial values for LISTDEF and TEMPLATE libraries, and an initial OPTIONS EVENT statement, which will be used in every batch utility job generated by ZDT/Db2. You can also specify default template names to be used in various clauses in several Db2® utility statements.

You provide these site-specific values, also, in an HFM2SSDM macro in HFM2POPT. For more information, see HFM2SSDM. For information on the use of the site-specific LISTDEF and TEMPLATE libraries, and the OPTIONS EVENT statement, refer to the Z Data Tools User’s Guide and Reference for DB2 Data.

See Examples of HFM2SSDM macros for sample code showing the HFM2SSDM macros you would code to define a Db2® subsystem, and a Db2® group attachment identifier for a data sharing group.