Enform Plus Reference Manual
Commands
Enform Plus Reference Manual—422684-001
6-6
?ATTACH Command
?ATTACH Command
The ?ATTACH command allows you to specify a query processor to use during an
Enform Plus session. The syntax of the ?ATTACH command is:
process-name
is the name of a query processor.
When one or more server query processors exist on a Compaq system, you can use the
?ATTACH command to specify the query processor you want to use. If you do not
specify the ?ATTACH command, Enform Plus defaults to a dedicated query processor. A
dedicated query processor is an Enform Plus process that is created for and provides
services to an individual compiler/report writer process. The dedicated query processor
runs for the duration of an Enform Plus session until either an error occurs or an
?ATTACH command is issued specifying a new query processor. When you enter the
?ATTACH command without a process name, Enform Plus starts a new dedicated query
processor for your use.
An ?ATTACH failure is not evident until the first FIND or LIST statement is executed.
The possible ?ATTACH failures and the actions you can take are as follows:
•
The server query processor already has the maximum number of users it can handle.
In this case, you can wait and then try again specifying the same query processor;
name a different server query processor; or select a dedicated query processor.
•
The server query processor does not exist. In this case, you can start the server query
processor, name a server query processor that does exist, or select a dedicated query
processor.
•
The attached server query processor reached one of two limits set for that particular
server query processor. Either the query reached a database read limit, or the cost
strategy specified by Enform Plus exceeded its limit. In this case, you can name a
server query processor with greater limits or without built-in limits; change the
query; or select a dedicated query processor. The @READS and @COST-
TOLERANCE Option Variable clauses are described under Option Variable Clauses
on page 5-48.
?ATTACH [ process-name ]