DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 53
EDIT Command
edit-parameter
is any valid EDIT command. You can enter multiple commands, separated by
semicolons. After opening the EDIT file, EDIT executes any subsequent
commands until it closes the file.
EDIT Command Guidelines
The following points are guidelines for using the EDIT command:
•
Issuing the EDIT command within DDL is like issuing the EDIT command from the
command interpreter. The EDIT prompt is the same, and you can use all the same
functions.
•
When you stop an EDIT process by issuing the EXIT command, control returns to
the DDL compiler.
•
You must close any source file before editing it. For instance, if you have opened a
COBOL source file, entered some text in this file, and then want to view it with the
text editor, you must issue the NOCOBOL command before you issue the EDIT
command.
Default EDIT File.
When you specify
edit-file-name
in the EDIT command, DDL
passes that name to the current EDIT process and also stores the name. If you omit
edit-file-name
from the next EDIT command in the same session, the DDL
compiler passes the stored name to the new EDIT process.
Default EDIT Parameter. When you specify
edit-parameter
in the EDIT command,
DDL passes that parameter to the EDIT process. The DDL compiler also stores the
parameter.
If you omit
edit-file-name
from the next EDIT command, DDL passes any
parameter saved from the last EDIT command to the new EDIT process.
If you specify
edit-file-name
in the next EDIT command, DDL discards any
previously stored parameter.