Editing Files With IEDIT

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

  • You can issue the RUN command with or without parameters to save and execute a FOCEXEC that is open in the editor.
  • The editor is positioned to the line number where FOCUS encounters an error while executing a FOCEXEC.
  • The last FOCEXEC executed opens when no file name is specified when you issue the IEDIT command.

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

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.

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.

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