Enform Plus Reference Manual
Commands
Enform Plus Reference Manual—422684-001
6-15
?RUN Command
?RUN Command
The ?RUN command executes one or more queries stored in an Edit-format file. The
syntax of the ?RUN command is:
edit-filename
is the name of the Edit-format file containing the Enform Plus source query.
( section-name , ...)
is a list of the names of one or more sections of the Edit-format file. A section-
name must be enclosed within parentheses.
If both edit-filename and section-name are specified, Enform Plus compiles
and executes that specific collection of commands statements identified by the section
name. Multiple sections of an Edit-format file can be combined to create complete
queries.
If only edit-filename is specified, Enform Plus compiles and executes the entire
Edit-format file. If neither edit-filename nor section-name is specified,
Enform Plus compiles and executes the Edit-format file specified by the most recent
?EDIT or ?RUN command.
Note that Enform Plus issues a warning message and ignores a ?RUN command if:
•
The ?RUN command appears in the file specified as the IN option of the ENFORM
command.
•
The ?RUN command appears in an Edit-format file compiled and executed by a
?SOURCE command.
•
The ?RUN command appears in an Edit-format file compiled and executed by
another ?RUN command.
?RUN [ edit-filename [ ( section-name , ... ) ]