Passing Parameters To Compiled Query Files; A Server Query Processor - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Running ENFORM

Passing Parameters to Compiled Query Files

Passing Parameters to
Compiled Query Files
A Server Query
Processor
2–6
ENFORM allows you to pass parameters to a compiled query file. The compiled query
file must contain a PARAM statement defining the parameter. The PARAM statement
is discussed in Section 4.
Use the PARAM command of the Command Interpreter to specify parameters prior to
execution of the compiled query file. The PARAM command overrides any values
specified in a SET statement for a parameter. The syntax of the Command Interpreter
PARAM command is:
PARAM [ parameter-name
parameter-name
is the name of a parameter defined in a PARAM statement.
parameter-value
is the value to be assigned to parameter-name. parameter-value can have either of the
following forms:
character-string
" character-string "
If the first form is used, the string must not contain any embedded commas, and
leading and trailing blanks are not included as part of parameter-value.
If the second form is used, all the characters, including leading and trailing blanks,
between the quotation marks are included as part of parameter-value.
Refer to the GUARDIAN Operating System Utilities Reference Manual for more
information about the PARAM command.
Unless otherwise specified, each ENFORM session uses a dedicated query processor.
To avoid some overhead, several compiler/report writer processes can be assigned to
share a single server query processor and sort process. The assignment is made by an
?ATTACH command. A server query processor processes one query at a time.
Figure 2-1 shows several compiler/report writer processes assigned to one server
query processor.
One or more server query processors can be created. Each server query processor runs
as a NonStop process pair, handling queries from one compiler/report writer process
at a time.
A host language program (described in the ENFORM User's Guide) can also use a
server query processor.
058057 Tandem Computers Incorporated
parameter-value ] ,...

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents