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

S306

Program load failed (ABEND306)SYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation

A LINK, XCTL, ATTACH or LOAD macro failed an authorization or load check, and a reason code in register 15 says which.

QUICK ANSWER

A LINK, XCTL, ATTACH or LOAD macro failed an authorization or load check, and a reason code in register 15 says which.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The module was requested from a library that is not APF-authorized (reasons 04, 0C, 20).
  2. A LOAD with the global option named a module that is not reentrant (reason 08).
  3. The user tried to use a RACF-controlled program without authority (reason 30).
  4. Signature verification of the module failed (reason 40).

CHECKED 14 Nov 2026 IBM: 306 system completion code (z/OS 3.2.0 IBM Documentation)

MOST LIKELY

The module was requested from a library that is not APF-authorized (reasons 04, 0C, 20).

FIRST CHECK

Look up the reason code in register 15 and read the CSV message in the job log.

TRY IT ▸

Site search

What it means

Abend 306 occurs during LINK(X), XCTL(X), ATTACH(X) or LOAD processing, for example when an authorized request finds the module in an unauthorized library.

The reason code in register 15 identifies the error, and accompanying CSV messages give more detail.

Typical causes

  • The module was requested from a library that is not APF-authorized (reasons 04, 0C, 20).
  • A LOAD with the global option named a module that is not reentrant (reason 08).
  • The user tried to use a RACF-controlled program without authority (reason 30).
  • Signature verification of the module failed (reason 40).

How to fix it

  1. Look up the reason code in register 15 and read the CSV message in the job log.
  2. Make sure the module exists in an authorized library, correct the error and rerun the step.
  3. For reason 30, ask the security administrator for READ access to the data set profile instead of EXECUTE.
  4. If the program is not in error, search for a fix or contact IBM Support.

Example

Illustrative only; names and values are invented.

IEA995I SYMPTOM DUMP OUTPUT
  SYSTEM COMPLETION CODE=306  REASON CODE=00000030