ooo        ooooo oooooooooooo      88   .oooooo.                       
`88.       .888' `888'     `8     .8'  d8P'  `Y8b                      
 888b     d'888   888            .8'  888      888 oo.ooooo.   .oooo.o 
 8 Y88. .P  888   888oooo8      .8'   888      888  888' `88b d88(  "8 
 8  `888'   888   888    "     .8'    888      888  888   888 `"Y88b.  
 8    Y     888   888         .8'     `88b    d88'  888   888 o.  )88b 
o8o        o888o o888o        88       `Y8bood8P'   888bod8P' 8""888P' 
                                                    888                
                                                   o888o               
MainframeOps

ISPF Cheatsheet

ISPF Common Commands

HELP

Display help information

END

Return to the previous panel

RETURN

Return to the primary option menu

KEYS

Display or change function key definitions

SPLIT

Split the screen horizontally

SWAP

Switch between split screens

START

Create a new logical screen

SYSNAME ON|OFF

Display or remove system name

USERID ON|OFF

Display or remove user ID

Edit Commands

FIND 'text'

Find specified text

CHANGE 'old' 'new'

Change old text to new text

COPY

Copy lines

MOVE

Move lines

DELETE

Delete lines

COMPARE

Compare the edited member with another

COLS [ON|OFF]

Display or hide columns line

HIDE X

Hide excluded lines

RESET HIDE

Redisplay hidden lines

HEX ON|OFF

Turn hexadecimal display on or off

Data Set List Commands

APPEND

Add entries to the displayed list

REFRESH

Refresh display to original list filter criteria

EXCLUDE

Exclude data sets from display

SORT

Sort the data set list

SRCHFOR

Search for strings in listed data sets

SDSF Commands

ST

Display status of jobs

? jobname

Display job output

SORT JOBID A

Sort jobs by job ID in ascending order

ST;SORT JOBID A

Go to status view and sort jobs by ID

z/OS UNIX Commands

UDLIST

Display a z/OS UNIX Directory List

EDIT pathname

Edit a z/OS UNIX file

OBROWSE pathname

Browse a z/OS UNIX file

Commonly Used Function Keys

F1

Help

F2

Split

F3

End / Exit

F4

Return

F5

RFind (Repeat Find)

F6

RChange (Repeat Change)

F7

Backward / Up

F8

Forward / Down

F9

Swap

F10

Left

F11

Right

F12

Cancel

Edit Line Commands

I

Insert line

D

Delete line

R

Repeat line

C

Copy line

M

Move line

A

After (for copy/move)

B

Before (for copy/move)

TS

Text split

TF

Text flow

UC

Uppercase

LC

Lowercase

)

Shift right

(

Shift left

HX

Display line in hexadecimal

COLS

Display columns line

BOUNDS

Display bounds line

TABS

Display tabs line

MASK

Display mask line

MD

Make dataline

Tips

  • Use semicolon (;) as a command separator to execute multiple commands in sequence.
  • In SDSF, you can limit the view to only input, execution, and output using specific commands.
  • Customize your ISPF settings and shortcuts for increased productivity.
  • Use the SRCHFOR command to search for text in a list of datasets (DSLIST/3.4) or members (within a PDS).
  • To edit an unsaved member but forgot to make a backup copy: VIEW <member name> to open the unedited version, CREATE (or REPLACE) <backup member name> .ZF .ZL
  • Consider setting up an INITIAL EDIT MACRO for frequently used settings (e.g., 'HILITE REXX PAREN', 'BOUNDS 1 39' for Rexx programming).