3. Input to Binary fields is converted to integer. The DDS file specification must
declare zero decimal positions (for example, xB 0, where xis 1-9).
4. ILE C converts hex DDS field data to character fields. Since the input stream to
QtmhCvtDB() is a text string, the hexdata would be converted from text to
character fields. Therefore, using the A (Alphanumeric) field type to obtain the
same conversion.
Required parameter group
Qualified database file name
Input:CHAR(20)
The input variable containing the name of the database file defining field
names and data types for the keywords anticipated in the input to the CGI
program. Typically, the database file is generated using DDS to define the
fields corresponding to the keywords anticipated in the CGI inputs. The first
10 characters contain the database file name, and the second 10 characters
contain the library name.
Input string
INPUT:CHAR(*)
The input variable containing the string of CGI input parameters to be parsed.
When the environment variable REQUEST_METHOD indicates that the
method is GET, characters up to the first ?are ignored. The string must meet
the format requirements for CGI input keyword strings.
Length of input string
INPUT:BINARY(4)
The input variable containing the length of the character string that contains
the CGI input parameters to be parsed. The length of the string must be
greater than 0.
Response variable
OUTPUT:CHAR(*)
The output variable which is to contain the structure mapped according to the
database file describing the input parameters anticipated by the CGI program.
Length of response available
INPUT:BINARY(4)
The input variable containing the total length of the buffer into which the CGI
input parameters will be parsed.
Length of response
OUTPUT:BINARY(4)
The output variable that contains the length of the response. If the response
variable is too small to contain the entire response, this parameter will be set to
the size that is required to contain the entire response.
Response code
OUTPUT:BINARY(4)
A code that indicates the status of the request.
0All keywords have been translated according the database file.
Chapter2. Application Programming Interfaces 31