Generic Files - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Running ENFORM

Generic Files

Generic Files
2–10
Sets a limit of 2 on the cost strategy
Waits up to three minutes before stopping.
:ASSIGN F1, $data.database.parts
:ASSIGN F2, $data.database.order
:ASSIGN F3, $data.database.odetail
:PARAM REQUESTORS 15, COST 2, TIMEOUT 3
:QP / NOWAIT, NAME $qp1 /
The server query processor keeps open those files that have been assigned "F" names.
In the example, these are F1, F2, and F3. The query itself still refers to these files by
their names as described in the data dictionary: parts, order,and odetail.
(Note that FIND files may not be kept open in this manner.)
A generic file is a file that is used to store some form of ENFORM output. ENFORM
produces many different forms of output, such as statistics and error messages. To
enable control over each class of output, generic file names have been defined for each
class. These generic file names can be used in Command Interpreter ASSIGN
commands or ENFORM ?ASSIGN commands (described in Section 6) as the record-
name to be assigned to a physical-file-name.
When you assign an ENFORM generic file to a physical file, the physical file must exist
at the time ENFORM attempts to open the file. If you specify an exclusion mode, it is
used. An unspecified or meaningless exclusion mode (for example, protected for
terminals) causes the default (SHARED for terminals and EXCLUSIVE for other
devices) to be used. If you specify an exclusion mode for the generic files QUERY-
WORK-AREA and QUERY-SORT-AREA, it is ignored.
Assigning a generic output file name to a process name causes the process to be
treated as if it were the spooler. ENFORM OPENs the process, calls SETMODE, and
WRITEs to the process. It is not possible to ASSIGN a FIND file to a process because
ENFORM will create an unstructured file and rename the file as the last step in
processing the FIND statement. Table 2-1 shows the ENFORM generic file names and
their uses.
058057 Tandem Computers Incorporated

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents