Authorization failures in application programs

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, we recommend you code DFHRESP(NOTAUTH) rather than explicitly coding a value. To distinguish between a command security failure and a resource 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.