ISPF Editor Primary Command Reference

The following commands can be used from the primary command field of the ISPF editor. This field is found either at the top left or bottom left of the screen depending on how you have your ISPF screens configured.

[ ] indicate optional parameters, [ | ] indicates a choice of one of the options listed (or none), { | } indicates you must specify one of the options. Where no optional parameter is specified the underlined value will be assumed. Commands shown in italics do not have their parameters listed on this page as a more detailed explanation of how to use the command appears on another page of this site.

AUTONUM [ON | OFF]
Determine whether line numbers are maintained automatically.
 
AUTOSAVE [ON | OFF PROMPT | OFF NOPROMPT]
Determine whether data is automatically saved when you leave the editor.
 
BOUNDS [left-column right-column]
Controls left and right boundaries for edit commands.
 
CANCEL
End the edit session without saving.
 
CHANGE
This command works exactly the same as the Find command except that there is an extra parameter that contains the value that is to be substituted for the found string.
 
COPY
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
CREATE
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
CUT
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
DELETE [ALL] [range] [X | NX]
Delete the specified lines.
 
EDIT [membername]
Invoke another edit session.
 
EXCLUDE
This command works exactly the same as the Find command except that the lines on which the searched for string is found are excluded from the displayed output.
 
FIND
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
HEX [ON DATA | ON VERT | OFF]
Controls whether the hexadecimal values are displayed and if so how.
 
IMACRO {macro-name | NONE}
Replaces the initial macro in the edit profile.
 
LOCATE {line-number | label}
Locate the specified line.
 
LOCATE [NEXT | PREV | FIRST | LAST] [CHANGE | LABEL | EXCLUDED | ERROR | COMMAND | SPECIAL] [range]
Locate the specified type of line.
 
MOVE
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
NONUMBER
Turn number mode off.
 
NOTES [ON | OFF]
Determine whether or not notes are displayed.
 
NULLS [ON STD | ON ALL | OFF]
Controls how trailing blanks are handled.
 
NUMBER [ON | OFF] [STD | COBOL | STD COBOL]
Determine how line numbers are stored.
 
PACK [ON | OFF]
Determine whether data is stored in a compressed format.
 
PASTE
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
PROFILE [profile-name]
Display the specified profile.
 
PROFILE [LOCK | UNLOCK]
Determine whether or not profile changes will be saved.
 
RECOVERY [ON | OFF]
Determines whether changes are saved in a recovery dataset.
 
RENUM [ON | OFF] [STD | COBOL | STD COBOL] [DISPLAY]
Resequence line numbers automatically.
 
REPLACE
refer to Moving Lines of Data for full details of the parameters available with this command and how to use it.
 
RESET [LABEL] [COMMAND] [ERROR] [CHANGE] [SPECIAL] [EXCLUDED] [range]
Resets the specified settings to their default.
 
SAVE
Save the current member.
 
STATS [ON | OFF]
Determine whether member statistics are maintained.
 
SUBMIT [range]
Submit the content of the member for background processing.
 
TABS [ON | OFF] [STD | ALL] [tab-character]
Control logical and hardware tabbing.
 
UNDO
Undo the last change stored in the recovery dataset.
 
UNNUM
Replace line numbers with blanks and turn number mode off.
 

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate