![]() ![]() |
Reference Type: Supported, Category: Alerts, ICR#: 2788
The $$PKGPEND^XQALBUTL extrinsic function returns whether or not the user specified has an alert with XQAID containing the first ";"-piece (software/package identifier) indicated by the xqapkg input parameter pending. It returns either of the following:
$$PKGPEND^XQALBUTL(xqauser,xqapkg)
xqauser: |
(required) This is the Internal Entry Number (IEN, DUZ value) in the NEW PERSON (#200) file for the desired user. |
xqapkg: |
(required) This is the software/package identifier portion of the alert identifier (XQAID). It is a textual identifier for the software that created the alert and is the first ";"-piece of XQAID. It can be used in this context to determine whether or not the user specified by the xqauser input parameter has any alerts pending containing the specified software identifier. The software identifier used can be a complete software identifier (e.g., XU-TSK) or more general (e.g., XU) to find users with any XU software alerts. |
returns: |
Returns:
|
The following is an example of an alert not pending:
>S XQAPKG="XU" >W $$PKGPEND^XQALBUTL(20,XQAPKG) 0 |
The following is an example of an alert pending (one or more):
>S XQAPKG="XU" >W $$PKGPEND^XQALBUTL(20,XQAPKG) 1 |