TRANSFER Programming Manual

Contents
x 069138, Update 1 to 040970 Tandem Computers Incorporated
Section 9 Designing and Writing a Client
Registering a Correspondent 9-2
Initiating a Session 9-2
Network Guidelines 9-4
Using TRANSFER UOWs 9-4
Request and Reply Formats 9-5
Request Format 9-6
Reply Format 9-6
Where to Find Structure Definitions 9-6
Linkage Section and Procedure Division Header 9-7
Copying Definitions from GCOB and GLNK 9-7
Where to Find UOW Definitions 9-8
Notes on Package Handling 9-8
Basic Steps for Sending a Package 9-10
Basic Steps for Receiving a Package 9-10
Grouping UOWs into IPCs 9-10
Error Handling 9-11
Communicating with TISERV 9-14
Coding Guidelines 9-14
SCREEN COBOL Guidelines 9-14
COBOL STRING and UNSTRING Operations 9-15
Debugging Techniques 9-18
A Sample TRANSFER Client 9-20
UOWs 9-20
Sample Client Functional Description 9-21
Sample Client Code 9-26
Running the Sample Client 9-27
Sample Client Code 9-27
Section 10 Designing and Writing an Agent
Precautions About Using Agents 10-1
Selecting a Programming Language 10-2
Coding an Agent 10-3
Establishing Sessions for Agents 10-3
Working with TAREQ 10-3
Agent Notification Message 10-5
Agent Reply 10-5