GET_UC_SERVER_NAME

Use the GET_UC_SERVER_NAME script function to retrieve the name of the work process in which the script runs.

Syntax

GET_UC_SERVER_NAME ()

Example

The following script ,retrieves the name of the work process that the script runs in, and prints the name in the activation report.

:SET &RET# = GET_UC_SERVER_NAME()
:
PRINT &RET#

If the work process is named AUTOMIC#WP006, the output in the activation report would look like this:

2019-01-08 13:41:42 - U00020408 AUTOMIC#WP006

See also:

seealso

Script Elements for System Conditions and Settings