MainframeKit

S222

Operator cancelSYSTEM ABEND

The job was cancelled by an operator or an authorised user, without a dump.

MOST LIKELY

An operator or automation cancelled a job that looked looping or hung.

FIRST CHECK

Ask operations or check the system log for who cancelled the job and why.

TRY IT ▸

MainframeKit assistant

What it means

Code 222 means the job or TSO user was ended by a CANCEL command and no dump was requested. With a dump the code is 122 instead.

The program may be fine. Something or someone outside it decided to stop it: an operator, automation software or a scheduler rule.

Typical causes

  • An operator or automation cancelled a job that looked looping or hung.
  • The job ran past a schedule window and was stopped.
  • A duplicate or wrong job submission was cancelled on purpose.
  • A user cancelled their own job from SDSF.

How to fix it

  1. Ask operations or check the system log for who cancelled the job and why.
  2. If it was looping or hung, rerun in test with a dump to find where.
  3. Check whether the step updated files or tables before it was stopped.
  4. Restart from a checkpoint or rerun from the top as the runbook says.

Example

Illustrative only; names and values are invented.

IEF450I PAYJOB01 STEP040 - ABEND=S222 U0000 REASON=00000000