Authorization failures in application programs

CICS® returns a RESP2 value of 100 for command security failures, a value of 101 for resource security failures, and a value of 102 for surrogate security failures.

If you are running with CICS command security, CICS returns the NOTAUTH condition, RESP value 70, to your application, which is the same condition as for a resource security failure. CICS also issues message DFHXS1111 to the CICS security transient data destination CSCS. To test for this value in your application, it is recommended that you code DFHRESP(NOTAUTH) rather than explicitly coding a value.

To distinguish between a command security failure, a resource security failure, and a surrogate security failure, check the RESP2 value:
  • For a command security failure, CICS returns a value of 100 in RESP2.
  • For a resource security failure, a value of 101 is returned in RESP2.
  • For a surrogate security failure, a value of 102 is returned in RESP2


dfht5m4.html | Timestamp icon Last updated: Sunday, 4 June 2017