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:
Is the ddname of the file to edit. If no ddname is supplied, it defaults to FOCEXEC.
Is the member name of the file to edit in the PDS allocated to the ddname.
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
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