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.

Start of changeAlternatively, to define Db2 to z/OS until the next IPL, you can use these commands, in the following order:End of change

  1. SETPROG LNKLST, to update the link list concatenations
  2. 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.
  3. SETPROG APF, to update the APF list
  4. 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:

  1. Add the Db2 ERLY code to a link list data set named MY.LNKLST.
  2. Perform a complete refresh of the LLA.
  3. Add the Db2 and IRLM libraries to the dynamic APF list.
  4. Dynamically add a new Db2 subsystem named DSN1, with these characteristics:Start of change
    • Command prefix -DSN
    • Command prefix scope S (started)
    End of change

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