User guide

Using ENFORM in Noninteractive Mode
Compiling and Executing a Query
4–2 058058 Tandem Computers Incorporated
Figure 4-1 shows a sample of the output produced when ENFORM is used in
noninteractive mode.
Figure 4-1. ENFORM in Noninteractive Mode
ENFORM - T9102C09 - (02APR82) DATE - TIME : 8/17/82 - 15:31:32
SOURCE FILE NAME IS $MKT.SAMPLE.TEST1
1 * ?SOURCE addfile1
2 * SET @display-count to 24;
3 * OPEN employee;
4 * LIST empnum, empname, job;
Employee
Number EMPNAME JOB
-------- ------------------ ------------
1 ROGER GREEN MANAGER
23 JERRY HOWARD MANAGER
29 JACK RAYMOND MANAGER
... ... ...
4 * CLOSE employee;
5 * OPEN parts,odetail,order;
6 * LINK parts TO odetail VIA partnum;
7 * LINK odetail TO order VIA ordernum;
8 * LIST partname,deldate,quantity;
PARTNAME DELDATE QUANTITY
----------------- -------- --------
SYSTEM 192KB SEMI 04/10/78 1
DECIMAL ARITH 04/10/78 2
... ... ..
** END-OF-ENFORM-RUN **
If you specify the name of an Edit file for the IN option of the ENFORM command,
ENFORM compiles and executes all the statements and commands in the Edit file with
the following exception: ENFORM ignores a ?RUN command in the Edit file.