SYS_USER_LANGUAGE
Use the SYS_USER_LANGUAGE script function to retrieve the language in which the server generates the log files. The language is defined in the language= parameter of the INI file ucsrv.ini. For more information, see Automation Engine.
Syntax
SYS_USER_LANGUAGE ()
Return Codes
| Return Value | Condition |
|---|---|
| D | German |
| E | English |
| F | French |
Examples
The following example retrieves the server log file language and writes it to the activation report.
: SET &LOGLANG# = SYS_USER_LANGUAGE ()
: PRINT "Server language is &LOGLANG#."
Tip: SYS_USER_LANGUAGE does not retrieve the display language that users select when they log in to AWI. Use the UC_USER_LANGUAGE system variable to return the user language.
: SET &USERLANG# = GET_VAR (UC_USER_LANGUAGE)
: PRINT &USERLANG#
See also: