Generic Files And A Dedicated Query Processor - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Running ENFORM
Generic Files
Generic Files and a
Dedicated Query Processor
2–12
Table 2-1. ENFORM Generic Files and Their Uses (continued)
Generic File Name
QUERY-QPSTATISTICS
QUERY-QPSTATUS-MESSAGES
In most cases, a generic output file is an unstructured file. When ENFORM opens an
unstructured file to write records, the records are written starting at the beginning of
the file and the existing records are overwritten.
The generic files QUERY-WORK-AREA, QUERY-SORT-AREA, QUERY-
QPSTATISTICS, and QUERY-QPSTATUS-MESSAGES can be specified for a dedicated
query processor by using either the ENFORM ?ASSIGN command (see Section 6) or
the Command Interpreter ASSIGN command (see Logical File Assignments earlier in
this section). The ASSIGN command is passed through the ENFORM compiler/report
writer to the query processor for each LIST or FIND statement until the ASSIGN is
cleared.
The query processor opens both QUERY-QPSTATISTICS and QUERY-QPSTATUS-
MESSAGES for every FIND or LIST request. Generally, statistics and errors for
multiple requests to a dedicated query processor cannot be collected in a disc file
because the results are written over each other. However, by assigning the generic file
to a process, the statistics and errors can be collected for multiple requests to a
dedicated query processor.
058057 Tandem Computers Incorporated
Use
The statistics produced for every FIND or LIST statement that
is successfully processed by the query processor during an
ENFORM session (regardless of the setting of @STATS).
Each set of statistics is identified by a line containing the
requestor's PID and the beginning and ending times of the
query execution.
If @STATS is set to ON, statistics are also reported to the
QUERY-STATISTICS file.
The output is produced in ASCII. For each query processed,
the output consists of (72 * (the number of record-types in the
query + 3)). For display purposes, each output record is
72 characters in length.
All error messages produced by the query processor or SORT
during the processing of a FIND or LIST statement during an
ENFORM session. To identify the query in error, each
message is preceded by the requestor's PID and the time of
the error.
Errors are also reported to the QUERY-STATUS-MESSAGES
file.
The output is produced in ASCII with a record length of
132 bytes.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents