IBM Support

Unexpected DFHXS1111 for TOR userid from QUERY SECURITY command in AOR

Question & Answer


Question

Why am I receiving message DFHXS1111 reporting a security violation against the CICS terminal owning regions (TORs) userid when using the EXEC CICS QUERY SECURITY function in my CICS application owning region (AOR)?

I am seeing DFHXS1111 messages in the CICS AOR log where the application is making the query against a resource id looking for both CONTROL and ALTER access. The DFHXS1111 message is indicating that the CICS TOR's userid does not have control access. A second DFHXS1111 message is written to indicate the signed on userid does not have alter access (which is expected). I don't understand how or why the first DFHXS1111 message is reporting against the TOR's region userid.

Here is an example of the security violation reported against the TOR's region userid:

DFHXS1111 04/04/2019 11:45:19 Security violation by user (TOR region userid) for resource xxxx in class TCICSTRAN. SAF codes are (X'00000008', X'00000000'). ESM codes are (X'00000008',X'00000000'). RACF request made was FASTAUTH.

I have several applications utilizing the QUERY SECURITY call successfully in my regions.

Cause

The symptoms reported suggest the TOR region userid is being used to check the Link itself. This would indicate the Connection definition, on the AOR side, has ATTACHSEC=IDENTIFY, (blanks) coded for SECURITYNAME and the assciated Sessions definition has (blanks) coded for the USERID attribute. This combination of attributes will result in the Link check to be made against the TOR's region userid.

Answer

There are two ways to resolve:

  • Give the TOR region userid the access access needed to the resource being checked.

  • Bypass the Link check and rely on the checking made against the signed on userid. To bypass the Link check, code USERID=(aor region userid) on the Sessions definition installed on the AOR, or code SECURITYNAME=(aor region userid) on the Connection definition installed on the AOR. This is known as equivalent systems. Thus, when the Link check is made, it is discovered that the Link userid (derived from either USERID or SECURITYNAME) is the AOR region userid itself. In this scenario, the Link check is bypassed because the region is checking against itself.

[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"ARM Category":[{"code":"a8m0z00000007YsAAI","label":"Security"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Versions"}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
26 March 2024

UID

dwa1501642