H-Series Application Migration Guide (H06.03+)

Migrating TNS Applications to H-Series Systems
H-Series Application Migration Guide429855-006
B-4
Summary of Changes in the H-Series TNS
Environment
Summary of Changes in the H-Series TNS Environment
Major differences in the G-series and H-series TNS environments are:
Different accelerator tool. The H-series Object Code Accelerator (OCA) is used
instead of the G-series Accelerator utility.
New Binder options (see Binder Utility on page B-7 for details).
Table B-2. TNS Data Spaces
Process Type Data Spaces
TNS process on
TNS/R processor
A user data segment, containing global data (for TAL,
COBOL, and small memory-model C programs) and the
user data stack for TNS procedures
An automatic (compiler-generated) extended data
segment, containing extended global data and local data,
and optionally a heap (for C and C++ programs)
A main RISC stack segment, containing the stack for
nonprivileged native procedures
A privileged RISC stack segment, containing the stack
for privileged native procedures
A process file segment (PFS), used by the operating
system
Optional program-allocated extended data segments
(selectable or flat segments)
TNS process on
TNS/E processor
A user data segment, containing global data (for TAL,
COBOL, and small memory-model C programs) and the
user data stack for TNS procedures
An automatic (compiler-generated) extended data
segment, containing extended global data and local data,
and optionally a heap (for C and C++ programs)
A main memory stack for nonprivileged TNS/E native
procedures
A main privileged memory stack for privileged
procedures
A main register stack engine (RSE) backing store for
nonprivileged procedures
A privileged RSE backing store for privileged
procedures
A process file segment (PFS), used by the operating
system
Optional program-allocated extended data segments
(selectable or flat segments)