Alternatives for making Z Data Tools available
- By concatenating HFM.SHFMMOD1 to your LINKLIST.
- By adding HFM.SHFMMOD1 to the STEPLIB DD statement in your TSO logon procedure.
- By activating the HFM.SHFMMOD1 data set using the TSO command, TSOLIB.
- By adding HFM.SHFMMOD1 to the ISPLLIB DD concatenation.
Example
The Z Data Tools libraries are allocated in a user's TSO logon procedure. The ISPF main menu is customized to allow ZDT/Db2 as an option. Selecting this option runs an exec based on HFMINIT to allocate Z Data Tools libraries using LIBDEFs.
The Z Data Tools libraries allocated in the TSO logon procedure are different to the Z Data Tools libraries allocated in the exec using LIBDEFs.
In this situation problems will arise if the user has ZDT/Db2 running on one ISPF logical session, and Z Data Tools Base component or ZDT/IMS running on a second ISPF logical session.
Explanation
Most Z Data Tools modules are reentrant. In an ISPF split screen environment each Z Data Tools module will be loaded only once by the first ISPF session that requires it. If the user starts another ISPF session and runs Z Data Tools, any modules needed by Z Data Tools will only be loaded if the module in not already loaded. This can result in unpredictable results - in terms of the module loaded - depending on whether Z Data Tools Base component or Z Data Tools IMS™ is started before a Z Data Tools Db2® session, or vice versa.
To make Z Data Tools readily available from ISPF, configure your ISPF environment as described in Customizing the operating environment for Z Data Tools.