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

S522

Wait time limit exceededSYSTEM ABEND · CHECKED 2026-11-14
Checked against IBM documentation

All tasks in the job step stayed in an SVC wait longer than the SMF wait-time limit, usually because an ECB was never posted.

QUICK ANSWER

All tasks in the job step stayed in an SVC wait longer than the SMF wait-time limit, usually because an ECB was never posted.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The program waited on the wrong ECB.
  2. The correct ECB was never posted.
  3. The job step's expected wait is longer than the SMF time limit (JWT, SWT or TWT).

CHECKED 14 Nov 2026 IBM: 522 - z/OS 3.2.0 System completion codes

MOST LIKELY

The program waited on the wrong ECB.

FIRST CHECK

Correct the errors and run the job step again.

TRY IT ▸

Site search

What it means

Abend 522 occurs when every task in a job step has been in an SVC wait for the time set by the JWT, SWT or TWT parameters in the SMFPRMxx parmlib member.

The ECB named in the wait request was never posted.

Typical causes

  • The program waited on the wrong ECB.
  • The correct ECB was never posted.
  • The job step's expected wait is longer than the SMF time limit (JWT, SWT or TWT).

How to fix it

  1. Correct the errors and run the job step again.
  2. If no errors are found and the wait is expected, specify TIME=NOLIMIT on the EXEC statement to bypass job step timing.