RSC/MP 7.2 Programming Manual
Unsolicited Message Service
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
8-8
UMS Host Code Example
acAlias
The GROUP_ALIAS or SESSION_ALIAS name, depending on the uAliasType
parameter, or an asterisk (*) for all. The name must be terminated with NULL
characters or filled to the end with blank characters. Alias names are defined in the
RSC.H file.
uAliasType
The type of alias, either RSC_GROUP_ALIAS or RSC_SESSION_ALIAS.
UMS Host Code Example
The file SAMPUMSC, shipped with the RSC/MP Host, provides sample code to send
an unsolicited message to a workstation. A runnable version is provided as
SAMPUMS.
The sample code requires a TACL define in order to locate the TDP. A description at
the top of the SAMPACSC file provides information on the define to set and the syntax
to run SAMPUMS.
UMS Workstation Application Example
The file umsclient.c, shipped with an RSC/MP client, provides sample code for
receiving unsolicited messages. A runnable version is provided as umsclient.e or
umsclient.exe, depending on the client operating system. The program requires
command-line arguments; a description at the top of the umsclient.c file provides the
syntax to run umsclient.e or umsclient.exe. When run, the sample program waits for an
unsolicited message and then replies if appropriate.