To improve WAN performance, all environment variables read by a call to Cci_env_ipc are cached. This includes calls from LogiView's client_env function, as well as all calls to uti_inf_sys and uti_inf_usr that are done by the C code and result in a env_ipc callback. To reduce the number of calls during startup, the Java side ECI callback Eci_env_ipc has a bulk mechanism, thus the server passes a list of variables instead of reading them one by one. |
|||||||||||||||||||||||||||
|
|
This function returns the value of an environment variable / parameter of the client or the server. Available environment parameters include:
|
||||||||||||||||||||||||||
Syntax: |
|||||||||||||||||||||||||||
| {STR_VAR}= environment ({STR_EXPR}) | |||||||||||||||||||||||||||
I/O parameters:
|
|||||||||||||||||||||||||||
Return value: |
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
Example: |
|||||||||||||||||||||||||||
| Declaration of Variables | |||||||||||||||||||||||||||
10 DOCU_STRING_1 = environment("DTV_HWS")
20 put(DOCU_STRING_1)
|
|||||||||||||||||||||||||||
|
Result:
|
|||||||||||||||||||||||||||
|
Functions and commands: Operating System Interface |
|||||||||||||||||||||||||||
UTF8 Conversion on UNIX Server |
|||||||||||||||||||||||||||
When the EDM Server is installed on UNIX and the LogiView function 'environment' is used to get the content of an environment variable, the converter name is derived from the locale settings, especially the LANG environment variable. To use UTF-8 as locale setting, the following values can be set in the customizing script of Agile e6.
|
|||||||||||||||||||||||||||
UTF8 Conversion on Windows Server |
|||||||||||||||||||||||||||
On Windows, the C API function _wgetenv is used. With this function the server reads environment strings in Unicode and converts the values to UTF-8 internally. Values stored via the Windows Control Panel - including predefined variables like USERNAME and PATH - may contain any Unicode character. |