DBC security parameters
The DBCSECUR DD statement, which is specified in the startup JCL for the DBC subsystem, identifies the security parameters data set for the DBC subsystem. The security parameters are optional. Each security parameter has a default value that applies if you do not specify the DBCSECUR DD statement, or if you omit a particular security option from the parameters file. Thus, you are not required to specify these parameters to use the DBC security features.
You do not specify the security parameters with the main DBC startup parameters identified in the DBCPARMS DD statement. You can choose to administer and secure the security parameters separately from the main DBC startup parameters by implementing RACF data set name security. For more information about the started task, see Started-task-for-the-DBC-subsystem.
Structure of the XML stream
The following figure shows a sample security parameters file.
Structure of the DBCSECUR XML stream
<RESOURCE_NAME>
<HLQ>BMC</HLQ>
<CONTEXTS>
<CONTEXT>
<SMFID>MVSA</SMFID>
<TO_VALUE>PROD</TO_VALUE>
</CONTEXT>
<CONTEXT>
<SMFID>MVSB</SMFID>
<TO_VALUE>TEST</TO_VALUE>
</CONTEXT>
</CONTEXTS>
</RESOURCE_NAME>
<RESOURCE_CLASS>
<COMPONENT>DBC
<COMMAND>MYCLASS
</COMPONENT>
<COMPONENT>DPR
<COMMAND>MYCLASS
</COMPONENT>
</RESOURCE_CLASS>
<SUBSYS>DBCS</SUBSYS>
<ALLOW_SAF_RC4>NO</ALLOW_SAF_RC4>
</DBCSECUR>
DBCSECUR elements
(optional) The <DBCSECUR> element is the root-level element of the DBCSECUR structure.
Data type: Not applicable.Child elements: <RESOURCE_NAME>, <RESOURCE_CLASS>, <SUBSYS>, <ALLOW_SAF_RC4>, and <DB2AUTH>
RESOURCE_NAME | (optional) The <RESOURCE_NAME> element contains the options for the customizable resource name nodes. Data type: Not applicable. Parent element: <DBCSECUR> Child elements: <HLQ> and <CONTEXTS>
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RESOURCE_CLASS | (optional) The <RESOURCE_CLASS> element allows you to customize the SAF resource class that is associated with internal DBC security control points. If omitted, the RACF resource class for all DBC commands (and associated components) defaults to the FACILITY class. In the sample shown in Structure of the DBCSECUR XML stream, all DBC and DPR command resource profiles must be defined in RACF resource class MYCLASS. The <COMPONENT> and <COMMAND> subelements are required only if you use the <RESOURCE_CLASS> element. Data type: Not applicable. Parent element: <DBCSECUR> Child elements: <COMPONENT>
| ||||||||||
SUBSYS | (optional) The <SUBSYS> element specifies the value to be passed to SAF on each authorization check to the SUBSYS parameter on the RACROUTE macro. The value defaults to DBCS. Data type: VARCHAR(8) Parent element: <DBCSECUR> Child elements: None. | ||||||||||
ALLOW_SAF_RC4 | (optional) The <ALLOW_SAF_RC4> element specifies whether the DBC subsystem allows access to a given resource if SAF returns return code 4. SAF returns 4 if a security decision could not be made. Valid values are YES and NO:
Data type: VARCHAR(3) Parent element: <DBCSECUR> Child elements: None. |