Introduction to ENFORM

Commands
Using ENFORM—The Basics
2–14 058051 Tandem Computers Incorporated
Figure 2-10. Example of Typical ENFORM Report
SUPPLIER PART QUANTITY
NUMBER NUMBER IN STOCK COST TOTAL COST AVG
1 212 7 92000.00 644000.00 222250.00
244 3 87000.00 261000.00
6201 -16 5800.00 -92800.00
7301 32 2400.00
76800.00
889000.00
6 4102 9 14500.00 130500.00 151000.00
4103 7 24500.00
171500.00
302000.00
10 7102 20 6800.00
136000.00 136000.00
136000.00
1327000.00
Commands If you have read this far, you should have an overview of ENFORM language
components. So, how do commands fit into the idea of a language composed of
ENFORM statements?
Commands are unconditional one-word imperatives (to ENFORM) to indicate that
you want to do something different within a session—something not necessarily
connected with specifying information on the report. All commands are preceded by
“?” and you can, for example, use them to:
Display some of the current settings for ENFORM statements like LINK and
OPEN (?SHOW command).
Use the editor from an ENFORM session to create a source file that can be saved
(?EDIT).
Stop the current ENFORM session (?EXIT).
Specify a listing device for the report (?OUT).
Execute an ENFORM source program stored in an edit file (?RUN).