Enform Plus Reference Manual

Running Enform Plus
Enform Plus Reference Manual422684-001
2-13
Generic Files and the Server Query Processor
Generic Files and the Server Query Processor
The generic files QUERY-WORK-AREA, QUERY-SORT-AREA, QUERY-
QPSTATISTICS, and QUERY-QPSTATUS-MESSAGES can be held open for the
lifetime of a server query processor if the TACL ASSIGN command (see A Server
Query Processor on page 2-6) is specified at the time the server query processor is
created.
By using the generic file names with a server query processor, you can specify where the
server query processor: builds the temporary files, performs sorts, sends statistics, and
sends error messages. Because the QUERY-QPSTATISTICS and QUERY-
QPSTATUS-MESSAGES files are held open for the lifetime of the associated server
query processor, collection of statistics and errors for multiple requests is possible.
The TACL ASSIGN commands specified when the server query processor is started
cannot be overridden by either Enform Plus ?ASSIGN commands nor TACL ASSIGN
commands specified when the Enform Plus process is initiated. (The server query
processor must be stopped and restarted to alter these file assignments.)
If you assign generic files by specifying either the Enform Plus ?ASSIGN command
(during Enform Plus processing) or the TACL ASSIGN command (before Enform Plus
is initiated) the server query processor directs output to these generic files until you clear
the ASSIGN command. Generic files that were not assigned when the server query
processor was created are re-opened for each FIND or LIST statement.
Generic Files and the Current Output Listing File
If the Generic files QUERY-REPORT-LISTING and QUERY-COMPILER-LISTING
are assigned, these files become the current output listing files under the following
conditions:
QUERY-COMPILER-LISTING file is the current output listing file whenever
Enform Plus statements and commands are processed.
QUERY-REPORT-LISTING file is the current output listing file whenever a report
(the output from the LIST statement) is produced unless the ?OUT command
specifies an ?OUT file.
Assignment of any of the other generic files does not affect the current output listing
file.
Table 2-2
on page 2-14 lists the forms of Enform Plus output (that is, reports, statement
and command output, statistics, and error messages) and the corresponding output file
when generic files are assigned. The default output file is described earlier in this
section.