Enform Plus Reference Manual
Running Enform Plus
Enform Plus Reference Manual—422684-001
2-12
Generic Files and a Dedicated Query Processor
In most cases, a generic output file is an unstructured file. When Enform Plus opens an 
unstructured file to write records, the records are written starting at the beginning of the 
file and the existing records are overwritten.
Generic Files and a Dedicated Query Processor
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 Plus ?ASSIGN command (see page 6-3) or the TACL 
ASSIGN command (see Logical File Assignments on page 2-4). The ASSIGN 
command is passed through the Enform Plus 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.
QUERY-SORT-AREA The location where all temporary files are built by the 
SORT process while processing a FIND or LIST 
statement during an Enform Plus session. The 
QUERY-SORT-AREA file name can be a volume 
name or an explicit file name.
QUERY-QPSTATISTICS The statistics produced for every FIND or LIST 
statement that is successfully processed by the query 
processor during an Enform Plus 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.
QUERY-QPSTATUS-MESSAGES All error messages produced by the query processor or 
SORT during the processing of a FIND or LIST 
statement during an Enform Plus 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.
Table 2-1. Enform Plus Generic Files and Their Uses (page 2 of 2)
Generic File Name Description










