Required parameter group: | ||
Environment string | Input | Char(*) |
Lenth of environment string | Input | Binary(4) |
CCSID of environment string | Input | Binary(4) |
Error code | I/O | Char(*) |
The QzsrPutEnvCCSID API allows you to set or create a job-level environment variable. This is useful for communication between programs running in the same job, such as your program and the Net.Data® language environment DTW_SYSTEM. CCSID support allows you to specify the encoding of the environment string.
The input string of the form: envVar=value. Where envVar is the name of the new or existing environment variable, and value is the value you want to set the environment variable. They are both case sensitive. The API expects this value to be in the CCSID of the environment string.
The input variable that contains the length of the environment string parameter (without trailing blanks). For example, the length of the environment string envVar=value is twelve.
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.