pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
About This Document
The Portable Transaction Application Language for HP NonStop systems (pTAL) is a high-level,
block-structured language used to write systems software and transaction-oriented applications.
This manual gives guidelines for using the pTAL language and the EpTAL and pTAL compilers,
including:
• How to create, structure, compile, and run a pTAL program
• The process environment, addressing modes, and storage allocation
• How to declare and access procedures and variables
You can compile pTAL source programs with either the pTAL compiler or the EpTAL compiler (for
their differences, see Figure 16 (page 361)).
In this manual:
Meaning (unless otherwise specified)Word
The pTAL and EpTAL compilerscompiler
The nld, ld, and eld linkerslinker
Supported Release Version Updates (RVUs)
This manual supports D44.00 and all subsequent D-series RVUs, all J-series, H-series, and G-series
RVUs, unless otherwise indicated by its replacement publication.
Intended Audience
This manual is intended for system programmers and application programmers familiar with
NonStop systems.
New and Changed Information
Changes to this manual are itemized for each RVU.
New and Changed Information for 523746–009
• Added a new Appendix E, 64-bit Addressing Functionality (page 531).
• Added the following new Address Types:
EXT32ADDR◦
◦ EXT64ADDR
◦ PROC32ADDR
◦ PROC64ADDR
• Added the following new Procedure Pointers:
PROC32PTR◦
◦ PROC64PTR
• Added a new 64-bit directive, __EXT64 (page 394) in the chapter “Compiler Directives”.
• Added the following 64-bit built-in routines:
$EXT64ADDR_TO_EXTADDR (page 306)◦
◦ $EXT64ADDR_TO_EXT32ADDR (page 307)
◦ $EXT64ADDR_TO_EXT32ADDR_OV (page 307)
16