SYS_USER_LANGUAGE
Use the SYS_USER_LANGUAGE script function to retrieve the language in which the server generates the log files. The language of the server log files is defined in the language= parameter of the INI file ucsrv.ini. For more information, see Automation Engine.
Syntax
SYS_USER_LANGUAGE ()
Return Codes
The script function has the following return codes:
- D
German - E
English - F
French
Example
The following example retrieves the server log file language, and writes it in 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: