COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-105
PORT and NOPORT
Usage Considerations:
NATIVE-n Data Items and Pointers
The PORT directive does not affect the alignment of NATIVE-n data items or
pointers.
Run-Time Performance
The PORT directive can severely impact n HP COBOL program’s run-time
performance.
Passing Parameters to Programs Not Compiled With PORT
If a program compiled with the PORT directive calls and passes parameters to a
program not compiled with the PORT directive (or compiled with the NOPORT
directive), serious problems can arise from differences in the way
BINARY/COMPUTATIONAL data items are aligned in the two programs.
Default: NOPORT
Placement: Anywhere
Scope: Applies to the compilation unit
Dependencies: None