Defining all Db2® systems that FM/Db2 will access in FMN2POPT (required)
Before you can use FM/Db2, you must define to FM/Db2 the Db2® subsystems, or Db2® data sharing groups, which FM/Db2 will use.
To do this you must provide an FMN2SSDM macro for each required subsystem, to be included in the FM/Db2 options macro, FMN2POPT. If you are using Db2® data sharing groups, you must also provide an FMN2SSDM 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 FMN2POPI macro in LIST. This information explains how FM/Db2 determines the Db2® systems that are candidates for connection on the local z/OS® server.
You must then install FMN2POPT on your FM/Db2 system, using the usermod FMN2UMDP. FMN2SSDM describes the syntax of the options in FMN2SSDM. See Changing the default options for information about other changes to make to FMN2POPT and how to install your version of FMN2POPT.
Each FMN2SSDM macro describes one subsystem or data sharing group. You can provide as many FMN2SSDM macros as you require in one FMN2POPT macro. You can specify an FMN2SSDM macro for any supported version of Db2® in the same FMN2POPT macro.
If your environment includes many Db2® subsystems, you can optionally specify whether FM/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 FM/Db2 will attempt to connect to. To do this, you specify an FMN2POPI macro and include it in FMN2POPT. FMN2POPI describes the syntax of the options in FMN2POPI.
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 FM/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 FMN2SSDM macro in FMN2POPT. For more information, see FMN2SSDM. For information on the use of the site-specific LISTDEF and TEMPLATE libraries, and the OPTIONS EVENT statement, refer to the File Manager User’s Guide and Reference for DB2 Data.
See Examples of FMN2SSDM macros for sample code showing the FMN2SSDM macros you would code to define a Db2® subsystem, and a Db2® group attachment identifier for a data sharing group.