Controlling the IMS PROCLIB data set
Carefully examine the procedures generated during SMP/E processing.
Although many of the procedures generated in the IMS.SDFSPROC data set require alteration before they can be used in direct execution of the online system, they do provide a convenient start to the task of defining execution JCL. Many of the members have content that directly indicates the options you specified in the system definition stage 1 input.
You should carefully examine the procedures generated during SMP/E processing.
Renaming the IMS PROCLIB data set members
- IMSIMAG
- Initial procedure for image copies of database
- IMSCTL
- Control region startup (IMS renamed)
- IMSTXLD
- BMP to preload a transaction queue (IMSBATCH)
- IMSMSG1
- Message region startup (IMSMSG)
- IMSBCH1
- Low-priority BMP (IMSBATCH)
- IMSMSG2
- Second message region when required (IMSMSG)
- IMSWT000
- Spool output print procedure (named by IMS)
The system operator or master terminal operator (MTO) uses the procedure names to start the job on z/OS®.
To develop these members, you need to either rename the members in the IMS PROCLIB data set or create new members. In some installations, the procedures are added to SYS1.PROCLIB. One option of the NODE keyword on the IMSGEN macro allows you to substitute an alternative library naming convention, so that your base PROCLIB data set can be named LEGAL.PROCLIB.
Altering members of your PROCLIB data set
You must alter the JCL content of the members of the PROCLIB data set. The updates you apply follow naming conventions for your IMS systems and the required DD statements.
Table 1 summarizes the ways you can tailor the PROCLIB data set member, excluding arrangements for batch executions. In all procedures, you might want to add JCL comment statements for additional documentation. Your PROCLIB data set might not contain all the members listed below.
PROCLIB data set member | Tailoring action |
---|---|
IMS |
|
IMSRDR |
|
DBC |
|
DBRC |
|
DFSDCxxx | Specifies data communication options. |
DFSFDRxx |
|
DLISAS |
|
IMSMSG |
|
DFSMPR | Checks and specifies EXEC PARM parameters. |
IMSBATCH |
|
DFSVSMxx |
|
DFSHSBxx | Establishes IMS active and alternate subsystems in XRF complex. |
DFSDRFxx | Defines DREF requirements list. |
DFSFIXxx | Defines page fix list. |
DFSINTxx | Defines, loads, and executes user-written exits during dependent region initialization. |
DFSMPLxx | Defines preload program list. |
DFSSQxxx |
|
IMSWTnnn |
|
DFSWTnnn | Checks and specifies SYSOUT class for spooled output. |
DXRJPROC | Establishes procedures for each required IRLM address space. |
DFSPBIMS |
|
DFSPBDBC |
|
DFSPBDCC |
|
Preparing for IMS job execution
In preparation for executing the IMS procedure as a system task, the members IMS, IMSRDR, DBC, DCC, DBRC, and DLISAS are moved to SYS1.PROCLIB. Additional members of the IMS PROCLIB data set, especially IMSMSG and the set of IMSWTnnn members for spool output, need to be tailored to satisfy your installation's requirements. IMSMSG invokes the procedure DFSMPR, and the IMSWTnnn members invoke DFSWTnnn. To enable message region and spool output jobs to be started with IMS commands or from the system console, these members, after tailoring, are moved to the IMS.JOBS data set, which is concatenated with SYS1.PROCLIB.
Preparing IMS PROCLIB data set member DFSPBxxx
IMS PROCLIB data set member DFSPBxxx contains IMS control region execution parameters. However, the values specified on the EXEC statement override (but do not nullify) any parameters specified in DFSPBxxx. To build or update a DFSPBxxx member, use the IMS Syntax Checker.
IMS also creates sample DFSPBxxx members during system definition. The sample members are as follows:
- DFSPBIMS for IMS DB/DC
- DFSPBDBC for DBCTL
- DFSPBDCC for DCCTL
These samples contain all the valid parameters for the specified IMS control region. To use the DFSPBxxx member, code RGSUF=xxx on the invocation of the IMS procedure.
Tailoring Fast Path execution procedures in DB⁄DC or DCCTL
- IMSFP
- To execute a region containing a Fast Path application program
- FPUTIL
- To execute online DEDB utilities
You must tailor both of these procedures to the requirements of individual programs. Also, several of the other members of the IMS PROCLIB data set have EXEC statement parameters that specifically apply to Fast Path or need to reflect Fast Path requirements. The additional tailoring actions are summarized in the table below.
IMS PROCLIB data set member | Tailoring action |
---|---|
IMS | Specify buffering and output thread limits Respecify region size. Add appropriate DEDB DD statements. Allocate MSDB initialization data set. |
DFSMPR | Specify buffering reserved for this region. |
IMSBATCH | Specify buffering reserved for this region. |
IMSFP | Specify the application program and region size. Specify buffering reserved for this region. |
FPUTIL | Specify the DEDB name and restart indicator. Provide the utility control statements. |
DFSFIXxx | Page fix list for Fast Path control blocks. |
DBFMSDBx | List of MSDBs and segments to be loaded. |
Tailoring Fast Path execution procedures in DBCTL
After defining Fast Path application programs in system definition macros, the contents of the IMS PROCLIB data set in a DBCTL environment include FPUTIL, a procedure that executes online DEDB utilities.
This procedure must be tailored to the requirements of individual programs. Also, several of the other members of the IMS PROCLIB data set have EXEC statement parameters that specifically apply to Fast Path or need to reflect Fast Path requirements. The additional tailoring actions are summarized in the table below.
IMS PROCLIB data set member | Tailoring action |
---|---|
DBC |
Specify buffering and output thread limits |
IMSBATCH |
Specify buffering reserved for this region |
FPUTIL |
Specify the DEDB name and restart indicator |
DFSFIXxx |
Page fix list for Fast Path control blocks |
Controlling modifications to the IMS PROCLIB data set
/START REGION IMSBCH1
The procedure IMSBCH1 must be correctly coordinated to a known BMP, appropriate PSB and transaction queue, other system options, and identifying parameters.
Your control responsibilities can include auxiliary procedures for database reorganization, recovery, or system output control. Further, the modification level of each procedure must be coordinated to the actual production environment. For example, if an application program is modified and requires more dependent region storage, you must coordinate the program library and IMS PROCLIB data set changes. One technique is to include JCL comment statements that document the date and the reason for the change.
Take special care to check that the physical changes you make in IMS PROCLIB data set members. Many of the DD statements extend over several input records and involve positional parameters, so you need to make more than a cursory examination of a change. You can use a data dictionary to record and maintain the IMS PROCLIB data set members. Changes can then be checked at the terminal or by reviewing listings of the changed members.