Guardian Application Conversion Guide
Contents
096047 Tandem Computers Incorporated xi
Section 8 Converting Other Parts of an Application (continued)
Using Sequential I/O (SIO) Procedures 8-17
Using the GPLDEFS File 8-17
Allocating FCBs Using the INITIALIZER 8-18
Allocating FCBs Using Declarations 8-19
Initializing the Common FCB Using SET^FILE 8-19
Initializing a New FCB Using SET^FILE 8-19
Specifying an Opener for $RECEIVE Using the SET^FILE
Procedure 8-20
Specifying System Messages Using the SET^FILE Procedure 8-20
Determining an Opener Using the CHECK^FILE Procedure 8-21
Opening $RECEIVE to Read System Messages 8-22
Converting Distributed Systems Management (DSM) Applications 8-23
Using the DSM Definition Files 8-23
Receiving and Interpreting Event Messages 8-23
Generating Event Messages 8-29
Converting DSM Applications That Use SPI 8-32
Improving I/O Performance Using Direct I/O Transfers 8-35
Using Direct I/O Transfers 8-35
Using the SETMODE 72 Function 8-35
When You Must Use PFS Buffers 8-36
Converting Memory-Management Procedure Calls 8-37
Allocating an Extended Data Segment 8-37
Making an Extended Data Segment Accessible 8-37
Deallocating an Extended Data Segment 8-38
Getting Information About an Extended Data Segment 8-38
Extended Segment Size 8-39
Checking Address Limits 8-39
Handling the Message System Interface 8-41
Section 9 Converting to TNS/R Systems
General Considerations 9- 1
Extended Segment Limit Checking 9- 1
Overflow Results 9- 2