Pathway/iTS TCP and Terminal Programming Guide
Designing Your Application
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide—426751-001
2-17
IDS Requesters
Program Structure
The example in Example 2-2 outlines an IDS SCREEN COBOL requester program.
Except for the inclusion of the Message Section and the deletion of the Screen Section,
the structure of an IDS requester program is the same as that of a standard SCREEN
COBOL requester program.
Example 2-2. Sample IDS Requester Program Structure (page 1 of 2)
IDENTIFICATION DIVISION.
PROGRAM-ID. ORDER
ENVIRONMENT DIVISION.
OBJECT COMPUTER.
TERMINAL IS INTELLIGENT
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-ORD-MSG
.
.
.
01 SERVER-REQ-FUNCTION-CODE
.
.
.
LINKAGE SECTION.
01 LOGON-INFO
.
.
.
MESSAGE SECTION. Declares structure of
01 MSG-FORMAT data passed to or from
. a device or process.
.
.