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:
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.
Alternatively, 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.
For example, the first command below deletes subsystem DSN1. The second command adds a new subsystem named DSN1 that has these characteristics:
- Command prefix -DSN
- Command prefix scope S (started)
- Group attachment name DB0A
SETSSI DELETE,SUB=DSN1,FORCE
SETSSI ADD,SUB=DSN1,INITRTN=DSN3INI,INITPARM='DSN3EPX,-DSN,S,DB0A'
What to do next
Start Db2, as described in Starting the Db2 subsystem.