Defining RACF user IDs for Db2-started tasks
A Db2 subsystem provides started-task address spaces.
About this task
Db2 uses the following started-task address spaces:
- ssnmDBM1 for database services
- ssnmMSTR for system services
- ssnmDIST for the distributed data facility
- Your WLM-established address spaces for stored procedures
You must associate each of these address spaces with a RACF® user ID. You can also assign each of them to a RACF group name. The RACF user IDs and group names that are associated with Db2 address spaces are listed in the following table:
Address Space | RACF User ID | RACF Group Name |
---|---|---|
DSNMSTR | SYSDSP | DB2SYS |
DSNDBM1 | SYSDSP | DB2SYS |
DSNDIST | SYSDSP | DB2SYS |
DSNWLM | SYSDSP | DB2SYS |
DB2TMSTR | SYSDSPT | DB2TEST |
DB2TDBM1 | SYSDSPT | DB2TEST |
DB2TDIST | SYSDSPT | DB2TEST |
DB2TSPAS | SYSDSPT | DB2TEST |
DB2PMSTR | SYSDSPD | DB2PROD |
DB2PDBM1 | SYSDSPD | DB2PROD |
DB2PDIST | SYSDSPD | DB2PROD |
CICSSYS | CICS® | CICSGRP |
IMSCNTL | IMS | IMSGRP |
If you have IMS or CICS applications issuing Db2 SQL requests, you must associate RACF user IDs, and can associate group names, with:
- The IMS control region
- The CICS address space
- The four Db2 address spaces
If the IMS and CICS address spaces are started as batch jobs, provide their RACF IDs and group names with the USER and GROUP parameters on the JOB statement. If they are started as started-tasks, assign the IDs and group names as you do for the Db2 address spaces, by changing the RACF STARTED class or the RACF started procedures table.
The RACF user ID and group name do not need to match those that are used for the Db2 address spaces, but they must be authorized to run the Resource Recovery Services attachment facility (for WLM-established stored procedures address spaces). Note that the WLM-established stored procedures started tasks IDs require an OMVS segment.
You can use two methods that RACF provides RACF STARTED class: if you use the STARTED class, the changes take effect without a subsequent IPL; if you use the started procedures table (ICHRIN03), you must perform another IPL for the changes to take effect. You cannot start the Db2 address spaces with batch jobs.
Procedure
To associate user IDs and groups with started tasks, use one of the following two methods the RACF provides: