Required parameter group: | ||
Receiver variable | Output | Char(*) |
Length of receiver variable | Input | Binary(4) |
Length of response | Output | Binary(4) |
Request variable | Input | Char(*) |
Length of request variable | Input | Binary(4) |
CCSID of request variable | Input | Binary(4) |
CCSID of returned environment variable | Input | Binary(4) |
Error Code | I/O | Char(*) |
The QzsrvGetEnvCCSID API allows you to get the value set by the server for a particular HTTP environment variable using CCSID support for input and output values.
The output variable that contains the value set by the server for the requested environment variable. This value will be returned in the CCSID specified for the returned environment variable.
The output variable that contains the value set by the server for the requested environment variable. This value will be returned in the CCSID specified for the returned environment variable.
The input variable containing the length of the space provided to receive the environment variable value.
The output variable that contains the length of the environment variable value. When the API is unable to determine the value for the requested environment variable, the length of the environment variable value is set to zero. When the size required for the environment variable value is larger than the length of the receiver variable, the size required to receive the value is returned.
The input variable containing the desired environment variable name.
The input variable containing the length (without trailing blanks) of the desired environment variable name.
The structure in which to return error information. Error messages are added to the error log or script log except for those listed below. For the format of the structure and for details on how to process API errors, see the API error reporting topic in the iSeries™ Information Center.