TNS/E Native Application Conversion Guide
Introduction to Native Mode
TNS/E Native Application Conversion Guide—529659-003
1-5
pTAL Compiler
Table 1-1 compares the tools used in the TNS and native development environments:
The following subsections describe the components of the native development
environment.
pTAL Compiler
The Portable Transaction Application Language (pTAL) is a dialect of TAL. pTAL does
not depend on TNS architecture-specific constructs. pTAL introduces new constructs
that replace TNS architecture-specific TAL constructs. The pTAL compiler reads pTAL
source code and creates native object code. The command line syntax of the pTAL
compiler is similar to that of the TAL compiler.
The pTAL compiler syntax-checking mode helps you convert TAL to pTAL. In this
mode, the compiler identifies most source code changes and suggests a method to
recode in pTAL.
You can run the pTAL compiler in the Guardian environment and on the PC as part of
the HP Enterprise Toolkit - NonStop Edition (ETK) (the HP Tandem Development Suite
is not supported on H-series systems). The EPTAL command runs the compiler in the
Table 1-1. Development Environment Comparison
TNS Development Environment Native Development Environment
TNS C compiler (c) Native C compiler (CCOMP)
TNS c89 utility (TNS/R systems only) Native c89 utility
Native c99 utility (TNS/E only)
cprep and cfront for C++ Native C++ compiler (CPPCOMP)
TNS COBOL compiler (COBOL85) Native COBOL compiler (ECOBOL)
TNS cobol utility (TNS/R systems only) Native ecobol utility
TAL compiler pTAL compiler (EPTAL)
Binder Native linker (eld utility)
Native object file tool (enoft utility)
Object Code Accelerator Not needed because native compilers produce
optimized Itanium object code
Inspect and Visual Inspect symbolic
debuggers
Debug machine-level debugger (TNS/R
systems only)
Native Inspect and Visual Inspect symbolic
debuggers
Debug not supported
SQL compilers: SQLCOMP for SQL/MP,
MXCOMP for SQL/MX
SQL compilers: SQLCOMP for SQL/MP,
MXCOMP for SQL/MX
DDL DDL
CROSSREF Not needed because native compilers have
directives or pragmas to produce listings, and
enoft utility produces cross-reference listings










