Installation step 14: Define Db2 to z/OS
After you run job DSNTIJMV to define Db2 in SYS1.PARMLIB, you must activate the definition in z/OS®.
About this task
Job DSNTIJMV makes the following changes to
the SYS1.PARMLIB library:
- Creates new subsystem definitions in the IEFSSNxx member
- Creates new APF libraries in the IEAAPFxx member
- Creates new load module libraries in the LNKLSTxx member
The load module library SDSNLINK contains the early code. SDSNLINK contains modules that must be placed in the link list look-aside address space (LLA) because they are loaded at subsystem initialization during the IPL.
Procedure
To define Db2 to z/OS:
IPL z/OS.
During the z/OS IPL, message DSN3100I appears on the z/OS console, stating that Db2 is ready for the START command.
Alternatively, to define Db2 to z/OS until the next IPL, you can use these commands, in the following order:
- SETPROG LNKLST, to update the link list concatenations
- MODIFY LLA,REFRESH, to rebuild the LLA directory for the entire set of libraries that are managed by the LLA. This action is also known as a complete refresh of the LLA.
- SETPROG APF, to update the APF list
- SETSSI ADD, to dynamically add the new Db2 and IRLM subsystems
Example: Suppose that you want to perform these actions to define a Db2 subsystem to z/OS before the next IPL:
- Add the Db2 ERLY code to a link list data set named MY.LNKLST.
- Perform a complete refresh of the LLA.
- Add the Db2 and IRLM libraries to the dynamic APF list.
- Dynamically add a new Db2 subsystem
named DSN1, with these characteristics:
- Command prefix -DSN
- Command prefix scope S (started)
Use the following commands:
SETPROG LNKLST,ADD,NAME=MY.LNKLST,DSNAME=prefix.SDSNLINK a
MODIFY LLA,REFRESH b
SETPROG APF,FORMAT=DYNAMIC,ADD,DSNAME=prefix.SDSNLINK c
SETPROG APF,FORMAT=DYNAMIC,ADD,DSNAME=prefix.SDSNEXIT
SETPROG APF,FORMAT=DYNAMIC,ADD,DSNAME=prefix.SDSNLOAD
SETPROG APF,FORMAT=DYNAMIC,ADD,DSNAME=prefix.SDXRRESL
SETSSI ADD,SUB=DSN1,INITRTN=DSN3INI,INITPARM='DSN3EPX,-DSN,S' d