Defining Db2 to z/OS for enabling data sharing

After you run job DSNTIJMV, you might need to define Db2 in SYS1.PARMLIB. This step is only necessary if you are changing the command prefix, or adding or changing the group attachment name.

Before you begin

Run job DSNTIJMV, as described in Modify the Db2 definition to IRLM and MVS for data sharing: DSNTIJMV.

About this task

Job DSNTIJMV creates new subsystem definitions in the IEFSSNxx member.

Procedure

To define Db2 to z/OS:

Do an initial program load (IPL) of z/OS.
You must do this action to apply any Db2 or IRLM subsystem parameter changes in the IEFSSNxx member.

After the IPL for z/OS completes, message DSN3100I is displayed on the z/OS console, stating that Db2 is ready for the START command.

Start of changeAlternatively, to apply any Db2 or IRLM subsystem parameter changes until the next IPL, you can use SETSSI commands to delete the subsystem, and add a subsystem with the modified parameters.End of change

Start of changeFor example, the first command below deletes subsystem DSN1. The second command adds a new subsystem named DSN1 that has these characteristics: End of change

Start of change
  • Command prefix -DSN
  • Command prefix scope S (started)
  • Group attachment name DB0A
End of change Start of change
SETSSI DELETE,SUB=DSN1,FORCE
SETSSI ADD,SUB=DSN1,INITRTN=DSN3INI,INITPARM='DSN3EPX,-DSN,S,DB0A'
End of change

What to do next

Start Db2, as described in Starting the Db2 subsystem.