ISPF editor
The full-screen editor where you write and change JCL, COBOL and any other text in a dataset.
Also written ISPF edit, edit
Why it matters. Every program and job you write in this job starts in this editor.
Syntax
FIND string [ALL|FIRST|NEXT|LAST|PREV] CHANGE old new [ALL] SAVE CANCEL
- FIND
- Move to the next place a string appears.
- CHANGE (C)
- Replace one string with another. Add ALL to change every one.
- SAVE
- Write the changes without leaving.
- CANCEL
- Leave without saving.
- I
- Line command: insert a line below.
- D
- Line command: delete the line. DD marks a block.
- R
- Line command: repeat the line.
- C / M with A or B
- Line commands: copy or move lines to after (A) or before (B) a line.
Try it ISPF
- 1
Open ISPF.
ISPF - 2
Choose the editor.
Option ===> 2 - 3
Open the CUSTCHK job from the DEV.JCL library. Put its full name in the Name field.
Name ===> 'ZBANK.DEV.JCL(CUSTCHK)'
Remember
- The Command line at the top acts on the whole file: FIND, CHANGE, SAVE.
- Line commands go over the line numbers: I inserts, D deletes.
- F3 saves and leaves. F12 leaves without saving.
The usual mistake
Typing I on the Command line to add a line
I is a line command. It belongs in the number area on the left, not on the Command line at the top.
Type I over a line number, then press Enter
On real z/OS
MF/OS covers the everyday editor, including FIND, CHANGE, edit profiles and edit macros. A few real commands say they are not modelled.
Where can I practise ISPF editor?
Right here, at ZedBank. You take a junior job at a simulated bank and use ISPF editor in real work, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- ISPFThe full-screen, menu-driven workbench most people use to do their day-to-day work on z/OS.
- ISPF panelA single screen within ISPF, whether a menu, a list or a form, identified by a number you can jump straight to.
- PF keysThe function keys F1 to F24, which carry the main actions on a mainframe screen: help, exit, save, page up and down.
- MemberOne named item inside a partitioned dataset, such as a single program, job or copybook within a library.
- Partitioned datasetA dataset that works like a library or folder, holding many separately named members inside one dataset.