Guardian Application Conversion Guide

Converting Basic Elements of a Pascal Program
Converting Pascal Applications
6–2 096047 Tandem Computers Incorporated
Converting Basic
Elements of a Pascal
Program
This subsection describes conversion that applies to all Pascal programs you need to
convert to run under the D-series operating system, irrespective of what the program
does. Later subsections describe how to convert specific functions of your programs
such as communicating with a high-PIN process.
This subsection discusses the following topics:
Importing source declarations from the PEXTDECS and PASEXT files
Importing source declarations from the ZSYSPAS file
Declaring and using variables for high PINs, file-system error numbers, file names,
and process identifiers
Calling Guardian procedures
Running the Pascal compiler
Binding the Run-time library
Figure 6-1 shows a typical application. The box shows which processes this part of the
conversion applies to. Converting basic elements of a Pascal program applies to both
of these processes.
Figure 6-1. Converting Basic Elements of a Pascal Program
$SRV
$REQ
Pascal Requester
Process
Pascal Server
Process
TACL