User guide

Interface Procedures
Host Language Interface
6–6 058058 Tandem Computers Incorporated
process-name
INT:ref, is a four-word array that, if present, specifies the process name of a server
query processor to use. If a query processor by that name does not exist, or if it
cannot accept the query because the query processor is busy or the query exceeded
its processing limits, an error results. If this parameter is omitted, a dedicated
query processor for the query is created by ENFORMSTART and deleted by
ENFORMFINISH. Refer to the ENFORM Reference Manual for information about a
server query processor.
cpu
INT:value, selects the CPU in which to run a dedicated query processor. If
omitted, the query processor runs in the same CPU as the host application
program. When process-name is given, this parameter is ignored.
priority
INT:value, assigns a priority for a dedicated query processor. The default is the
priority assigned the host application program. When process-name is given, this
parameter is ignored.
timeout
INT(32):value, if present, indicates the maximum time (in .01 second units) that the
application process is willing to wait (i.e. be suspended) for the query processor to
begin processing the query.
Timeout is most meaningful to use in the case of a request to a server query
processor named with process-name that might be busy processing another query at
the time ENFORMSTART is called. If ENFORMSTART returns an error 22,
indicating that timeout has occurred, the application process could revert to a
dedicated query processor by calling ENFORMSTART again without the process-
name parameter.
If timeout is omitted, then the application process waits indefinitely for the query
processor to begin the query.
reserved-for-expansion
INT:ref, reserved for expansion.