Before you begin
The authorization ID that runs the jobs must have authority to update the target system PROCLIB.
You can enter that library name on installation panel DSNTIPW in the SYSTEM PROCEDURES field. You
might want to use a procedure library other than SYS1.PROCLIB for the procedures.
The authorization ID that runs job DSNTIJMJ must have authority to create the data set and HFS
files that the job specifies.
Examine the updates from the jobs in this step carefully before you run them. Also, you might
have additional procedures of your own to rename.
About this task
Because different sites have different requirements, the jobs in the following steps cannot
anticipate all the necessary updates to the target system procedure library in your z/OS environment. You might have additional
procedures of your own to rename. You can complete these updates either by making the updates
directly in the target system procedure library , or by editing the jobs in the following steps.
Procedure
To update the system procedure library for the target z/OS system for Db2, complete the following steps:
-
Add the Db2 and IRLM address space
startup procedures by tailoring and running job DSNTIJMA.
Job DSNTIJMA adds startup procedures in the target system procedure library for the following
Db2 address spaces, where
ssnm is the subsystem name:
- system services address space (ssnmMSTR)
- database services address space (ssnmDBM1)
- DDF address space (ssnmDIST)
- administrative task scheduler stored procedure address space (ssnmADMT)
- IRLM address space (irlmproc)
Examine the size of the private area on the Db2 startup procedures. If necessary, modify the
procedures to satisfy the requirements for environmental descriptor manager (EDM) pool size,
buffers, number of data sets open, and amount of available private address space. For more
information, see Calculating working storage requirements.
The STEPLIB concatenation of the
database services address space (ssnmDBM1) procedure includes a commented-out DD for the IBM®
Language Environment® data sets SCEERUN and
SCEERUN2. If your system does not include SCEERUN and SCEERUN2 in the system link list, you must
uncomment this DD.
-
Add the address space startup procedures for the Db2-supplied WLM environments to by tailoring and
running job DSNTIJMW.
Job DSNTIJMW adds the following procedures to the system PROCLIB for WLM environments:
- ssnmWLM for the sample WLM environment
- ssnmWLMC for DSNWLM_DSNACICS
- ssnmWLMD for DSNWLM_DEBUGGER
- ssnmWLMG for DSNWLM_GENERAL
- ssnmWLMJ for DSNWLM_JAVA
- ssnmWLMM for DSNWLM_MQSERIES
- ssnmWLMP for DSNWLM_PGM_CONTROL
- ssnmWLMR for DSNWLM_REXX
- ssnmWLM1 for DSNWLM_NUMTCB1
- ssnmWLMU for DSNWLM_UTILS
- ssnmWLMW for DSNWLM_WEBSERVICES
- ssnmWLMX for DSNWLM_XML
-
Copy the Db2 language procedures by
running job DSNTIJMP.
Job DSNTIJMP adds the following
Db2-
supplied language procedures to the target system procedure library:
- DSNHASM for preparing Db2 assembler
language programs
- DSNHC for preparing Db2 C programs
- DSNHCPP for preparing Db2 C++
programs
- DSNHCPP2 for preparing Db2
object-oriented C++ programs
- DSNHICOB for preparing Db2 COBOL
programs
- DSNHPLI for preparing Db2 PL/I
programs
- DSNHFOR for preparing Db2 FORTRAN
programs
- DSNHSQL for preparing Db2 external SQL
procedures
- DSNUPROC for running Db2 Utilities
Change any
data set names that differ at your site. If you specified a data set name suffix in the DATA SET
NAME SUFFIX field of DSNTIPA1, that suffix is appended to data sets
&USER..DBRMLIB.DATA, &USER..RUNLIB.LOAD, and
&USER..SRCLIB.DATA. To override these data set names, you must edit the
updates to the target system procedure library.
The language preparation procedures in job
DSNTIJMP use the DISP=OLD parameter to enforce data integrity. However, when the installation CLIST
runs, the DISP=OLD parameter for the DBRM library data set is modified to DISP=SHR. This might cause
data integrity problems when you run multiple precompiler jobs. To avoid these data integrity
problems, if you are not using DFSMSdfp
partitioned data set extended (PDSE), you must change the language preparation procedures (DSNHICOB,
DSNHICB2, DSNHFOR, DSNHC, DSNHCPP, DSNHCPP2, DSNHPLI, DSNHASM, and DSNHSQL) to specify the DISP=OLD
parameter instead of the DISP=SHR parameter.
If compiler STEPLIB statements are needed, add
them.
-
Create environment files for the Db2-supplied Java WLM environment by tailoring and running job DSNTIJMJ.
Job DSNTIJMJ has the following steps that create environment files for the
Db2-supplied WLM environment, DSNWLM_JAVA:
- Job step DSNTIJJ creates a Language Environment run-time options (JAVAENV) data set for the ssnmWLMJ address space procedure. This data set is allocated by the JAVAENV DD of the ssnmWLMJ address space procedure that is created in job DSNTIJMW.
In this job step, review the JAVA_HOME path, which is the path where the JDK is located, and update if necessary. If you are using a 64-bit JVM, use the following path:
JAVA_HOME=/usr/lpp/java160/J6.0_64
Or, if you are using a 31-bit JVM, use the following path:
JAVA_HOME=/usr/lpp/java160/J6.0
You cannot specify two JDKs in a single JAVA_HOME path.
- _CEE_ENVFILE if present, must be set to the name and path of the environment variable file that was created by job step DSNTIJR.
- JVMPROPS needs to be set to the name and path of the JVM startup options file that was created by job step DSNTIJS.
- DB2_BASE and JCC_HOME need to be set to the names of the HFS directories that you selected for the Db2 for z/OS and JCC product classes.
You cannot specify two JDKs in a single JAVA_HOME path.
- Job step DSNTIJR creates an environment variable file in HFS.
- Job step DSNTIJS creates a JVM startup options file in HFS.
- The absolute path and name of a HFS or zFS file is passed to DSNTJMJX.
- DSNTJMJX checks whether the directory where this file is located exists or
not. If the directory does not exist, it is created.
-
After running job DSNTIJMJ, review the content of the Language Environment options data set and adjust the following
environment variables as needed.
The data set is created by DSNTIJMJ and must be allocated by the JAVAENV DD of the address
space procedure for the Db2 core WLM
environment for Java routines.
- If _CEE_ENVFILE is present, set it to the name and path of the environment variable file that
was created by job step DSNTIJR.
- Set JVMPROPS the name and path of the JVM startup options file that was created by job step
DSNTIJS.
- Set DB2_BASE and JCC_HOME to the names of the HFS directories that you selected for the Db2 for z/OS and JCC product classes.