Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-53
EDIT
EDIT
The EDIT command:
Suspends compilation
Starts an EDIT process
Opens the specified file, executes the specified commands, and closes the file
Resumes compilation when the EDIT process stops
You can use EDIT only in an interactive DDL session.
edit-file-name
is the name of an EDIT file.
Default: The most recent edit-file-name specified in the current DDL
session, if any. If none, you are prompted for a file name.
edit-parameter
is an EDIT command.
Default: The most recent edit-file-name specified in the current DDL
session, if any. If none, you are prompted for an EDIT command.
Issuing the EDIT command within a DDL session is like issuing the EDIT command
from the command interpreter. The EDIT prompt is the same, and you can use all the
same functions.
DDL Output with DO_PTAL_OFF
! SCHEMA PRODUCED DATE - TIME : 3/10/1995 15:26:30
?SECTION FIRST
?PAGE
! Definition FIRST created on 3/10/1995 at 15:26
STRUCT FIRST^DEF (*)
?IF PTAL
FIELDALIGN (SHARED2)
?ENDIF PTAL
;
BEGIN
STRING FLD1;
STRUCT SUB;
BEGIN
STRING FLD2;
END;
END;
EDIT [ edit-file-name [ ; edit-parameter ] ... ]
Example 9-22. DO_PTAL_ON and DO_PTAL_OFF Commands (page 2 of 2)