Strovent SystemsSign in
Reference

Exit ISPF: PF3, =X and the Specify Disposition panel

PF3 on the ISPF Primary Option Menu ends ISPF, not TSO. =X exits from any panel. Set Log/List defaults to skip the Specify Disposition panel on the way out.

PF3 in ISPF is the END command: it closes the panel you are on and goes back one level. Press it on the ISPF Primary Option Menu and there is no level left, so ISPF itself ends and you drop to the TSO READY prompt. You are still logged on to TSO. Type ISPF (or your site's command) to start it again, or LOGOFF to leave TSO. If you end up at the logon screen instead of READY, your site's logon setup ends the TSO session when ISPF ends; ask your administrator if you need READY.

Ways to leave

  • PF3 repeatedly walks back one panel at a time and ends ISPF at the Primary Option Menu.
  • =X on any command line leaves straight away, if the site's primary menu codes X as Exit (the IBM menu does). With one logical screen and one primary menu, it exits ISPF entirely.
  • =XALL ends every split screen and exits ISPF. If one screen is running an application that does not accept =X, ISPF stops there until you end that application yourself.
  • RETURN (PF4 by default) jumps back to the primary menu without showing each panel in between. On the primary menu it ends ISPF like END.
  • X typed as an option on the Primary Option Menu exits too.

With a split screen, these end ISPF on the active logical screen only. The other screens stay. See ISPF split screen.

The Specify Disposition of Log and List Data Sets panel

On the way out, ISPF may ask what to do with your log data set (diagnostic data such as trace output) and your list data set (output saved for printing later, for example from the PRINT commands or the option 3 utilities). When you leave with the Exit option, it asks only if one of them was created in this session and no defaults are set. For each one you pick a Process Option:

  • 1. Print data set and delete. Needs a SYSOUT class or a printer ID.
  • 2. Delete data set without printing. The usual choice if you do not need them.
  • 3. Keep data set - Same. Next session adds to the same data set.
  • 4. Keep data set - New. Next session starts a new data set.

Type a Process Option for each and press Enter to finish leaving ISPF.

Stop it from appearing

Set defaults once. Enter SETTINGS (option 0), open the Log/List pull-down on the action bar, and set both Log Data set defaults and List Data set defaults.

With defaults set, leaving with X, =X or RETURN uses them and goes straight to READY. Leaving with END (PF3) from the primary menu may still show the panel, depending on how ISPF was started. If you want to avoid it, use =X.

PF3 inside an application

Inside an application, PF3 ends that application, not ISPF. Some applications act on END: in the Batch option and the Hardcopy utility, END or RETURN submits the job; use CANCEL (F12) to leave without submitting. In SuperC and Search-For member lists, END processes the members you selected.

Sources

Spotted a mistake? Email [email protected].