Tpsec04, 4 creating client applications – HP NonStop G-Series User Manual
Page 57

4 Creating Client Applications
110838 Tandem Computers Incorporated
4–1
This section describes the DDE functions that you use in your client application to
communicate with the Tandem DDE Gateway, error handling, using the Browser
program to speed client application development, and client application design
considerations.
You should follow these steps when creating a client application that uses the Tandem
DDE Gateway:
1.
Review this manual thoroughly.
2.
Install and configure Remote Server Call (RSC).
3.
Install the Tandem DDE Gateway and configure your workstation.
4.
Review the example client applications provided with the Tandem DDE Gateway
in the EXAMPLES\ subdirectory.
5.
If you are using the Tandem DDE Gateway element-by-element communication
approach:
Update your DDL source code with the necessary Tandem DDE Gateway
directives to identity the message layouts, and then compile the DDL. See
Section 5, “Tandem DDE Gateway Bridge Program,” for detailed information
on the directives.
Run the Tandem DDE Gateway Bridge program on the Tandem system.
Sort the resulting Tandem DDE Gateway Data Dictionary and download the
sorted file to your workstation.
6.
Configure the Tandem DDE Gateway on your workstation with the necessary
ServiceName objects.
7.
Develop and test your client application.
You communicate with the Tandem DDE Gateway from your client application by
using the DDE functions that are introduced in this section.
Example Application
An example application is provided with the Tandem DDE Gateway. This application
resides in the \EXAMPLES subdirectory and consists of:
A COBOL Pathway server that reads and updates an Enscribe employee file. The
transactions are read, insert, update, and delete a single employee. There is also a
transaction which returns salary statistics for all employees.
A Pathway Screen COBOL (SCOBOL) requester with a single screen to perform
the above transactions.
A Pathway Screen COBOL (SCOBOL) Intelligent Device Support (IDS) requester
that can be used with the RSC IDS session type. The IDS requester supports only
the read employee transaction.
An example RSC Access Control Server (ACS) for use with the Tandem DDE
Gateway security feature.