HP NonStop G-Series User Manual

Page 98

Advertising
background image

Developing a Tandem Program to Create UMS Messages

Using DDE Hot and Warm Data Links

7–2

110838 Tandem Computers Incorporated

a.

Workstation configuration for Unsolicited Message Service (UMS)
applications. The particular configuration options of interest are group_alias
and session_alias.

b. Developing the part of a UMS application that resides on the Tandem system.

3.

Install the Tandem DDE Gateway and configure your workstation. Remember to
set the NumberOfUmsSessions configuration option to 1.

4.

Review the example client applications provided with the Tandem DDE Gateway
in the EXAMPLES\ subdirectory.

5.

Develop a Tandem program to create messages and write them to the RSC
Transaction Delivery Process (TDP).

6.

Develop and test your client application.

Note

The Tandem DDE Gateway Bridge program is not used when developing client applications with DDE hot
and warm data links.

Developing a Tandem

Program to Create

UMS Messages

A Tandem application that creates UMS messages destined for the Tandem DDE
Gateway and its client applications is a standard UMS application as described in the
RSC manuals with the following conditions:

Each message must contain a special header to be used by the Tandem DDE
Gateway. This header contains the name of the message which is used by client
applications to establish DDE hot and warm data links.

If your program on the Tandem system does a writeread to the TDP, an error
number and a count of the number of client applications that had DDE links to the
message will be returned.

Note

Your client application cannot return application data in response to the writeread executed on the
Tandem system.

Resident Application

Structure Example

The message that your application on the Tandem system sends should be structured
as in the following COBOL85 example:

01

RSC-UMS-TDP-REC.

03 RSC-HEADER.

05 N-CODE

NATIVE-2.

05 U-VERSION

NATIVE-2.

88 RSC-C30

VALUE 17182.

05 AC-TERMINAL-NAME

PIC X(10).

05 AC-ALIAS

PIC X(32).

05 U-ALIAS-TYPE

PIC 9(4) COMP.

88 RSC-GROUP-ALIAS

VALUE 1.

88 RSC-SESSION-ALIAS

VALUE 2.

03 UMS-USER-HEADER.

05 MESSAGE-VERSION

PIC X.

Advertising