Db2 object types
Each authorization request has an associated Db2 object type.
Db2 provides the object type as a 1-character abbreviation in the XAPLTYPE field. This abbreviation is used by the RACF access control module in conjunction with the code for the requested privilege to determine the authorization check to perform.
A non-valid XAPLTYPE or XAPLPRIV passed to the RACF access control module during
authorization checking will cause the RACF access control module to
return a return code of 4 (RACF access
not determined; perform Db2 access
checking
).
the following table lists the Db2 objects, the Db2 abbreviations used in the XAPL, and the abbreviations used in the RACF general resource grouping and member class names (GDSNxx and MDSNxx):
| Db2 object | Db2 object abbreviation | RACF class abbreviation |
|---|---|---|
| Buffer pool | B | BP |
| Collection | C | CL |
| Database | D | DB |
| Java™ archive (JAR) | J | JR |
| Package | K | PK |
| Plan | P | PN |
| Role | L | none |
| Schema | M | SC |
| Sequence | Q | SQ |
| Storage group | S | SG |
| Stored procedure | O | SP |
| System | U | SM |
| Table or index | T | TB |
| Table space | R | TS |
| Trusted context | N | none |
| User-defined distinct type | E | UT |
| User-defined function | F | UF |
| View | V | TB |