You create an IMS environment
to keep conversion projects and definitions for different IMS systems in one place. Help is available for
each panel.
About this task
An IMS environment
consists of library definitions such as RESLIB, DBDLIB, MDALIB and,
perhaps, RECON. Projects are connected to an environment.
Environments
typically have names such as TEST or PROD. There is no limit to the
number of environments you can create. An environment must be completely
defined before it can be used by a project.
Databases can belong
to multiple IMS systems. However,
only one RECON should represent a database.
Parameters and data sets are uniquely defined for each IMS
environment, and most parameters can have an ask-me-later setting. This setting allows you to delay
a decision until it is needed and applicable.
Procedure
Start the ISPF user interface.
The IMS HALDB Toolkit main menu is displayed.
Select option 1 from the Main Menu and press Enter.
The Environment Maintenance panel is
displayed.
To add a new environment, select option 2 from the Environment
Maintenance panel and press Enter.
The Define a New Environment panel is
displayed:
Enter an environment name and a description that provides
useful information. Press Enter.
The Project
Definition Settings panel is displayed.
You can
now define project-related definitions that are specific to the environment.
On this panel make the following specifications:
Whether to perform partitioning evaluation separately or during
the unload process
How you would prefer JCL to be generated (as a single JOB for each phase or as one
multi-step JOB)
Whether you would like the data sets of the database that
is being converted, to be deleted. If the data sets are to be deleted,
specify at which stage the deletion occurs.
When you have finished specifying all of the panel information,
press Enter.
The Data sets panel
is displayed.
From the Data Sets panel, specify
the data sets to use when generating the JCL.
When the IMS management of ACBs is enabled, the following libraries must be
specified in the RESLIB:
The SGLXLOAD library of IBM® IMS Tools Base for z/OS® 1.7 or later
The IMS Catalog Definition exit routine (DFS3CDX0)
If the
RECONs are not located in either the RESLIB or MDALIB data sets, you
can specify them explicitly with option 4. Otherwise, the Specify
RECON Data set names panel is skipped.
If you selected option 4 to specify RECON data sets, the Specify
RECON Data Set Names panel is displayed.
Specify the RECON data set names to use and press Enter.
The DBD Libraries panel is displayed.
Specify the DBD load libraries to use and press Enter.
When the IMS management of ACBs is enabled, do not specify the DBD load libraries
to use and press Enter.
The DBD Conversion Rules panel is displayed.
Specify the conversion rules to use, and press Enter.
The Save Source Statements panel is
displayed.
Press the HELP key for explanation of items on the
panel.
Specify where you would like to save the generated DBD
source and the IDCAMS source statements, and press Enter.
The Primary DBD Partitioning Rules panel
is displayed.
Specify conversion rules for the primary DBD, and press Enter.
The PSINDEX Definition Rules panel is
displayed.
Specify the conversion rules for secondary index DBDs,
and press Enter.
The Partition
Naming Rules panel is displayed.
Specify the naming rules for partition names and partition
data set names, and press Enter.
The Space
Allocation Rules for PHDAM and PHIDAM panel is displayed.
Specify space allocation rules for both PHDAM and PHIDAM,
and press Enter.
The Space
Allocation Rules for PSINDEX Data Sets panel is displayed.
Specify space allocation rules for HALDB secondary indexes,
and press Enter.
The Space
Allocation Rules for ILDS Data Sets panel is displayed.
Specify space allocation rules for HALDB ILDS data sets,
and press Enter.
The JCL
Defaults panel is displayed.
Specify the JOBCARD JCL defaults and the allocations rules
to use during the unload process and press Enter.
The Utility Setup for UNLOAD panel is
displayed.
Specify the specific rules to use for the UNLOAD utility
and press Enter.
The Utility
Setup for RELOAD panel is displayed.
Specify the specific rules to use for the RELOAD utility
and press Enter.
The Utility
Setup for BACKUP panel is displayed.
Specify the specific rules to use for the image copy utility
and press Enter.
Results
After you have completed all panels, a dialog box displays
indicating that the environment was successfully created.
If
the environment was successfully created, press Enter and
the first panel for creating a project will be displayed.