Mainframe (z/OS)

ISPF navigation and editor cheat sheet

Jump around ISPF, and the editor commands you use every day.

Handy? Press ⌘ DCtrl + D to bookmark this page for next time.

z/OS
  1. Dataset list (from any command line)
    Inside ISPF
    =3.4

    F3 goes back. F7 and F8 scroll up and down.

  2. Edit a dataset
    Inside ISPF
    =2
  3. TSO command shell
    Inside ISPF
    =6
  4. Leave ISPF
    Inside ISPF
    =X
  5. Find text in the editor
    Inside ISPF editor
    FIND 'text' ALL
  6. Change text everywhere
    Inside ISPF editor
    CHANGE 'old' 'new' ALL
  7. Save, or leave without saving
    Inside ISPF editor
    SAVE

    CANCEL (or CAN) leaves without saving. RES clears messages and highlights.

  8. Line commands (type over the line numbers)
    Inside ISPF editor
    I  D  D5  R  C  M  A  B  CC…CC  DD…DD

    I insert, D delete, R repeat, C copy or M move, then A after or B before the target line. CC and DD mark a block.

  9. Submit the JCL you're editing
    Inside ISPF editor
    SUBMIT