z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EDIT—Edit from within an Edit Session

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The EDIT macro command allows you to edit a member of the same partitioned data set during your current edit session.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

>>-ISREDIT--EDIT--member---------------------------------------><

member
A member of the library or other partitioned data set you are currently editing. You may enter a member pattern to generate a member list.

Description

Editing one data set or member while you are already editing another is called recursive editing. Your initial edit session is suspended until the second-level edit session is complete. Editing sessions can be nested until you run out of storage.

To exit from a nested edit session, END or CANCEL must be processed by a macro or entered by you. The current edit session resumes.

The EDIT service call, ISPEXEC EDIT, is an alternate method of recursively starting the editor. It offers the option of editing another data set and specifying an initial macro.

For more information on using the EDIT service for recursive editing, refer to the z/OS ISPF Services Guide.

Return codes

0
Normal completion, data was saved
4
Normal completion, data was not saved
12
Your error (invalid member name, recovery pending)
14
Member in use
20
Severe error
28
No ISREDIT MACRO statement preceded this call, or BROWSE was substituted because of the size of the member being edited.

Examples

To recursively edit the member OLDMEM in your current ISPF library:
ISREDIT EDIT OLDMEM

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014