ICL 1900 Series George 3 Operating System Commands

EDIT (ED)

Function

Calls in the editor to edit a named file.

Format

EDIT oldfile,newfile,editfile

oldfile is the file to be amended and this parameter is obligatory
newfile is optional and is the name of the new file to be created. If this parameter is omitted then the newfile produced has the same name as oldfile and a generation number one greater
editfile is also optional and causes the editor to read editing instructions from the file specified. If this parameter is omitted, (as is usual), then editing instructions are read from the job source (i.e. job description file or on-line console)

Forbidden contexts

NO USER

Execution

See the section on the editor for full details of the EDIT command.

P>Examples

EDIT MYFILE(1) would produce a new file MYFILE(2) from MYFILE(1) using editing instructions from the job source
EDIT MYFILE,YOURFILE would produce a new file YOURFILE from MYFILE using editing instructions from the job source

Error Messages

ENTRANT z IS NOT SUITABLE FOR EDITING