Editing Files With IEDIT

How to:

Reference:

IEDIT adds the following TED-like functionality to the editing session:

All system editor commands are valid, and any editor environment you establish as your default should be in force. TED commands other than RUN are not valid.

Syntax: How to Edit Files With IEDIT

IEDIT [ddname|FOCEXEC]
IEDIT [ddname(member)]
IEDIT [member]

where:

ddname

Is the ddname of the file to edit. If no ddname is supplied, it defaults to FOCEXEC.

member

Is the member name of the file to edit in the PDS allocated to the ddname. Note: If only one name is specified in the command and it is both a ddname and a member name (in the FOCEXEC library), the file allocated to the ddname is edited.

For example, if the FOCEXEC library has a member named FEX1 and a sequential file is allocated to ddname FEX1, the following command edits the sequential file:

EDIT FEX1
filename

Is the name of the file to edit. If omitted, it defaults to the name of the last FOCEXEC that was executed.

Reference: Usage Notes for IEDIT

  • The TED command and the IEDIT command are not available once you are in the editor.
  • IEDIT is not supported under MSO.

Example: Editing a File With IEDIT

To edit a Master File (allocated to DDNAME MASTER) named CENTORD: z/OSz/OS

IEDIT MASTER(CENTORD)

To edit a FOCEXEC named LOADORD:

IEDIT LOADORD

To edit the last FOCEXEC that was run:

IEDIT 

Information Builders