Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$CURRSURO^XQALSURO(): Get Current Surrogate for Alerts

Reference Type: Supported, Category: Alerts, ICR#: 2790

Description

The $$CURRSURO^XQALSURO extrinsic function obtains the current surrogate for alerts (if any) for the user with DUZ specified by the xqauser input parameter.

Format

  $$CURRSURO^XQALSURO(xqauser)

Input Parameters

xqauser:

(required) This is the Internal Entry Number (IEN, DUZ value) in the NEW PERSON (#200) file for the specified user with the surrogate.

Output

returns:

Returns:

  • DUZ—Internal Entry Number (IEN) of the surrogate.

  • -1—If there is no surrogate specified.