The
EDIT primary command allows you to edit another sequential data set,
partitioned data set member, or z/OS® UNIX file during your current edit
session.
Syntax
member
A member of the ISPF 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. To edit
another data set, member, or z/OS UNIX file during your current edit
session:
On the command line, type:
EDIT
or
EDIT member
Here, member represents
the name of a member of the partitioned data set you are editing.
The member operand is optional.
Press Enter.
If you specified a member name, the current library
concatenation sequence finds the member. The member is displayed for
editing.
If you do not specify a member name, the Edit Command
Entry panel, which is identical to the regular Edit Entry panel, appears.
You can enter the name of any sequential, partitioned data set, or z/OS UNIX file
to which you have access. When you press Enter, the data set, member,
or z/OS UNIX file is displayed for editing.
The
editor suspends your initial edit session 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, enter an END or CANCEL command.
The current edit session resumes.
Examples
These
steps show the use of the EDIT primary command:
Assume that you are editing a member named @INDEX and you need
to edit a member in another data set. So, you enter the EDIT command
on the command line, omitting the member operand, as shown in Figure 1.
When you press Enter, the Edit Command Entry panel (Figure 2) appears. On this panel, you enter the
name of the partitioned data set and member that you want to edit:
When you press Enter again, the member is displayed for editing,
as shown in Figure 3: