Guardian Application Conversion Guide

Contents
096047 Tandem Computers Incorporated ix
Section 5 Converting C Applications (continued)
Opening and Communicating With a High-PIN Server 5-16
Setting the RUNNAMED Object-File Attribute 5-17
Communicating With a High-PIN Server 5-18
Opening a High-PIN Server 5-18
Opening a High-PIN Server for a Backup Requester Process 5-20
Sending a Request to a High-PIN Server 5-21
Closing a High-PIN Server 5-21
Closing a High-PIN Server for a Backup Requester Process 5-21
Monitoring a High-PIN Server 5-22
Opening $RECEIVE 5-22
Reading System Messages From $RECEIVE 5-23
Processing System Messages Using the CHILD_LOST_
Procedure 5-24
Closing $RECEIVE 5-24
Being Opened by and Communicating With a High-PIN Requester 5-25
Converting a Server 5-25
Defining an Opener Table 5-26
Opening $RECEIVE 5-27
Reading System Messages From $RECEIVE 5-28
Getting Information About System Messages 5-28
Reading and Processing Open and Close System Messages 5-29
Reading and Processing Status-Change Messages 5-30
Replying to a System Message 5-30
Using the OPENER_LOST_ Procedure to Maintain an Opener
Table 5-32
Setting the HIGHREQUESTERS Attribute to Allow High-PIN
Openers 5-33
Section 6 Converting Pascal Applications
Converting Basic Elements of a Pascal Program 6-2
Importing the PEXTDECS and PASEXT Declarations 6-3
Importing the ZSYSPAS Declarations 6-4
Naming Standard Files in the Module Heading 6-4
Declaring and Using Programming Variables 6-5
Converting Guardian Procedure Calls 6-8
Running the Pascal Compiler 6-8
Binding the Run-Time Library 6-8
Using the Binder With Converted Object Files 6-8