Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

SAF-RC-4

SAF return code 4: function not processedSAF / RACF RETURN CODE · CHECKED 2026-11-14
Checked against IBM documentation

SAF return code 4 means the requested function was not processed, so RACF made no security decision.

QUICK ANSWER

SAF return code 4 means the requested function was not processed, so RACF made no security decision.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. RACF is not installed or not active.
  2. No RACF profile protects the resource.
  3. The class is not in the class descriptor table or is not active.
  4. A router table entry for the class, REQSTOR and SUBSYS specifies ACTION=NONE.

CHECKED 14 Nov 2026 IBM: Return and reason codes from the external security product router (z/OS 3.2.0 IBM Documentation) · Return codes and reason codes (RACROUTE REQUEST=AUTH) (z/OS 3.2.0 IBM Documentation)

MOST LIKELY

RACF is not installed or not active.

FIRST CHECK

Check the resource name and class that the application passes.

TRY IT ▸

Site search

What it means

The router returns 4 when the function was not processed. For RACROUTE REQUEST=AUTH it means the request could not be completed and RACF made no decision.

Typical causes

  • RACF is not installed or not active.
  • No RACF profile protects the resource.
  • The class is not in the class descriptor table or is not active.
  • A router table entry for the class, REQSTOR and SUBSYS specifies ACTION=NONE.

How to fix it

  1. Check the resource name and class that the application passes.
  2. Ask the security team whether the class is active and a profile should protect the resource.
  3. Read the RACF reason code in the parameter list to find which case applies.

Example

Illustrative only; names and values are invented.

RACROUTE REQUEST=AUTH,CLASS='FACILITY',ENTITY=PAY.APP.REPORT
  -> R15 = 4   (no profile found, request not processed)