Strovent SystemsSign in
Reference

Stop a looping TSO command or REXX exec (PA1, IRX0920I)

Press PA1, the TSO attention key, to stop a looping command. For a REXX exec, answer IRX0920I with HI, or HE if HI fails. Enter alone resumes the work.

In TSO/E the key that stops a running command is the attention interrupt key. On a 3270 terminal it is PA1. Press it once and TSO stops what it is doing and waits for you. What you type next decides what happens.

Stop an ordinary TSO command

Press PA1. Then choose:

  • Do nothing more if READY appears: the command has ended.
  • Type a different command and press Enter to end the interrupted work and run the new command. You may still see one more line of output from the old program.
  • Press Enter with nothing typed to let the interrupted command carry on where it stopped. Some output that was on its way to the screen can be lost.
  • Type TIME or TEST to run one of those without ending the interrupted work. Any other command ends it.

PA1 is also the way out of a command that keeps prompting you, such as CALL asking ENTER DATA SET NAME -: it cancels the command and READY appears.

If you pressed attention after CANCEL, STATUS or SUBMIT, Enter may not resume it: the interrupt can end those commands outright.

Stop a REXX exec

When a REXX exec is running and you press PA1, TSO shows the REXX attention message IRX0920I and waits for an immediate command:

  • HI (Halt Interpretation) stops the exec before its next REXX instruction. If the exec has SIGNAL ON HALT, control goes to its HALT: label instead, so it can clean up. Try this first.
  • HE (Halt Execution) stops the exec straight away, even while it is inside an external function or a program written in another language. Use it when HI has no effect, because HI is only checked once control comes back to REXX.
  • HT (Halt Typing) lets the exec keep running but hides its output; RT (Resume Typing) shows output again. Output produced in between is lost.
  • Enter on an empty line resumes the exec.

HE ends only the exec that is running. An exec that called it keeps going unless you are under ISPF. If you had already entered HI, the halt condition stays set, and the calling execs stop when control returns to them.

If a host command (for example a TSO command or a program called with ADDRESS TSO) is running inside the exec when you press attention, REXX usually ends that command and sets RC to -1 without showing IRX0920I, unless the command handles attention itself.

When PA1 seems to do nothing

  • Try the Attn key instead. Many clients have a separate Attn key. It reaches the host as an SNA attention signal rather than as PA1, and many host applications treat it as an interrupt. Over Telnet it is defined only for a TN3270E session with an SNA-backed server; see Attn and SysReq over TN3270: why the key does nothing.
  • You are on the full-screen logon panel. There PA1 only erases the screen.
  • The screen shows X SYSTEM for a long time. The command may be busy or waiting rather than looping. Give it time, or ask an operator to check the job.
  • Nothing works. Ask an operator to cancel your TSO user ID, then log on again.

On z/VM, CMS has its own commands for this, HX and HI; see Stop a looping CMS program on z/VM: HX, HI, HT, PA1 and BEGIN.

Sources

Spotted a mistake? Email [email protected].