Pathway/iTS TCP and Terminal Programming Guide
Designing Your Application
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide—426751-001
2-18
Pathsend Requesters
Pathsend Requesters
As an alternative to writing SCREEN COBOL requesters, you can write Pathsend
requesters in C, C++, COBOL85, Pascal, or TAL. In such requesters, you use Pathsend
procedure calls to communicate with Pathway servers. The LINKMON process
manages links to your server processes on behalf of Pathsend requesters.
Design Considerations
The following considerations should help you decide whether to use Pathsend requesters
in your applications:
Pathsend requesters are a good choice for your applications if you need to do the
following:
•
Take a high volume of transactions from a limited number of devices. In this
scenario, there are relatively few requester processes, the requesters are busy, and
configuration and management is minimal.
•
Access servers that are shared by Pathway requesters and applications other than
OLTP applications; for example, a security-checking server or a logging server. If
such servers are used infrequently or if the workload varies, server processes can be
automatically deleted when not needed and restarted through the PATHMON
process when needed again.
•
Access servers from environments containing a mix of online transaction processing
and batch processing; that is, environments where the same set of servers handle
both online requests and requests from batch applications such as NetBatch Plus
processes.
PROCEDURE DIVISION.
MAIN SECTION.
PERFORM 0100 START
.
.
.
DEVICE HANDLING SECTION.
SEND MSG MSG-FORMAT Sends messages to and
receives messages from
intelligent device.
SERVER MANAGER SECTION.
0200 MOVE ORDER TO. . .
BEGIN-TRANSACTION
SEND ORDER-MSG TO. . .
REPLY CODE 0 YIELDS. . .
END-TRANSACTION
Example 2-2. Sample IDS Requester Program Structure (page 2 of 2)