ENFORM Reference Manual
Passing Parameters to Compiled Query Files
Running ENFORM
058057 Tandem Computers Incorporated 2–9
COST
max-cost
sets a strategy cost limit for each ENFORM query using this server query
processor. If an ENFORM query exceeds the limit, it is terminated and an error
message is displayed. Refer to the @COST-TOLERANCE Option Variable in the
Option Variable clauses in Section 5 for an explanation of strategy cost limits.
Max-cost must be an integer between one and eight. The default is no limit.
TIMEOUT
time-out
sets the number of minutes a server query processor sits idle before stopping itself.
The default is no limit, meaning the query processor continues to run indefinitely.
READS
max-reads
sets the maximum number of logical data base reads per ENFORM session. If that
many reads are performed, the ENFORM session is terminated and an error
message is displayed.
Max-reads must be an integer. The default is no limit.
The Command Interpreter
QP Command
After the parameters are initialized and the physical files to be kept open are specified,
the server query processor is created. The syntax is:
QP / [ NOWAIT ] , NAME
process-name
[ , CPU
number
]
[ , PRI
priority
] [ , MEM
pages
] /
NAME
process-name
is a process name for the server query processor. The name must begin with a
dollar sign ($) followed by an alphabetic character and one to four alphanumeric
characters.
CPU
number
is the number of the CPU where this server query processor resides. The default is
the same CPU where the Command Interpreter resides.
PRI
priority
is the priority at which this server query processor is to run.
MEM
pages
is the maximum number of virtual data pages used for this server query processor.
It must be an integer from one to 64. The default is 64.
Example of Server Query
Processor Creation
Issue the following instructions to create a server query processor named $qp1 that
Keeps open parts, order, and odetail
Accepts up to 15 requestors