Passing Parameters to Compiled Query Files
Running ENFORM
2–8
058057 Tandem Computers Incorporated
The Command Interpreter
ASSIGN Command
For every physical file an ENFORM application accesses, the server query processor
must do open/close operations that add to the processing time. This processing time
can be reduced significantly if ENFORM applications that frequently use the same
physical files are processed by a common server query processor. A server query
processor allows for heavily accessed physical files to be kept open.
The ASSIGN command of the Command Interpreter defines the physical file or files
kept open. The syntax is:
ASSIGN
{
}
F
number
generic-file-name
‚
physical-filename
[ ‚
exclusion-mode ]
F
number
specifies the logical file name. Legal values for logical file names range from F1
through F31.
generic-file-name
is the name of one of the following generic files: QUERY-WORK-AREA, QUERY-
SORT-AREA, QUERY-QPSTATISTICS, and QUERY-QPSTATUS-MESSAGES. All
other names are ignored.
physical-filename
is a fully qualified Tandem file name. Refer to the GUARDIAN Operating System
User’s Guide for the exact form of a Tandem file name.
exclusion-mode
is either SHARED, PROTECTED, or EXCLUSIVE. The default is SHARED for an
input file. Valid values for generic files are described later in this section.
The Command Interpreter
PARAM Command
To create a server query processor, you must include a PARAM command specifying a
REQUESTORS parameter. The REQUESTORS parameter defines the maximum
number of requestors the server query processor can accept. The other parameters are
optional and can be specified in the same or in a different PARAM statement.
PARAM REQUESTORS
max-requestors
‚COST
max-cost
‚TIMEOUT
time-out
‚READS
max-reads
,...
REQUESTORS
max-requestors
sets the maximum number of requestors a query processor can accept. A
requestor can be any ENFORM application or a host language program. (Host
language programs are described in the ENFORM User’s Guide).
Summary of Contents for ENFORM 058057
Page 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Page 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Page 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Page 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...