ENFORM User's Guide
Using ENFORM in Interactive Mode
Compiling and Executing a Query
4–6 058058 Tandem Computers Incorporated
Use the ?RUN command to compile and execute the source code contained on the Edit
file. For example:
:ENFORM
ENFORM - T9102C09 - (02AOR82) DATE - TIME: 5/26/82 - 13:50:23
>?EDIT test3
TEXT EDITOR - T9601C08 - (01APR82)
CURRENT FILE IS $DATA.TEST.TEST3
*ADD 1
1 OPEN parts;
...
* EXIT
>?RUN
...
Notice that including an Edit file name with the ?RUN command is not necessary
because the ?EDIT command sets the default Edit file.
Include a section name with the ?RUN command if you want to compile and execute
only the source code in that section. For example:
:ENFORM
ENFORM - T9102C09 - (02APR82) DATE - TIME: 5/26/82 - 14:30:15
>?EDIT test4
TEXT EDITOR - T9601C08 - (01APR82)
CURRENT FILE IS $DATA.TEST.TEST4
*ADD 1
1 ?SECTION rpt1
.
.
.
45 ?SECTION rpt2
.
.
.
*EXIT
>?RUN test4 (rpt2)
Specifying only the Edit file name in the ?RUN command causes ENFORM to compile
and execute all the statements and commands in the Edit file even if ?SECTION
commands are included.