ENFORM User's Guide

Interface Procedures
Host Language Interface
058058 Tandem Computers Incorporated 6–7
mask-word
INT:value, is a parameter that must be included when FORTRAN is used to call
ENFORMSTART. Refer to the FORTRAN 77 Reference Manual for more
information about this parameter.
Condition code settings:
< (CCL) means there is a problem. An error number representing the reason
will be found in error-number.
= (CCE) means the query processor has been successfully initialized.
FORTRAN programs must contain special code in order to examine the condition code
settings.
ENFORMSTART Error Messages
If an error occurs during the execution of the ENFORMSTART Procedure, the number
of the error is returned to error-number. Any of these error conditions terminate the
query processor. If the query processor is dedicated, it is deleted. Table 6-1 lists the
error message for each of the possible error numbers.
Table 6-1. ENFORMSTART Error Messages
Number Message
3 An error occurred in trying to read the compiled-physical-filename.
8 An error occurred in trying to open the compiled-physical-filename.
15 A required ENFORMSTART parameter is missing.
16 Some failure occurred in creating or communicating with a query processor.
17 Either the param-list or assign-list is not in the correct format.
18 The value specified for buffer-length is less than 6.
19 A restart (restart-flag not equal to zero) call made to ENFORMSTART was done under the
following invalid conditions:
No previous successful call to ENFORMSTART
ENFORMFINISH called before this ENFORMSTART
Last ENFORMRECEIVE did not end in end-of-file or error status
20 The file named by compiled-physical-filename cannot be executed. Either the physical file
has an invalid file code for a compiled query, or the compiled query contains a LIST
statement rather than a FIND statement.
21 The file named by compiled-physical-filename has an outdated version number.
22 The amount of time specified by the timeout parameter has elapsed with no response from
the query processor.
23 Ctlblock was modified by the host application program since the last call to ENFORM
procedures.
24 The amount of stack space needed to build the message to be sent to the query processor
is not available.