COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
NOPORT
aligns BINARY/COMPUTATIONAL data items according to standard alignment rules and
prevents the CALL statement in a program from calling non-COBOL routines, passing parameters
by value, and returning the values of functions.
NOPORTDefault:
AnywherePlacement:
Applies to the compilation unitScope:
NoneDependencies:
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.
PROFDIR
The PROFDIR directive determines where the instrumented process creates raw data files. Use this
directive only when CODECOV directive is specified. The PROFDIR directive is ignored unless
CODECOV directive is also specified.
For detailed information on code coverage, see the Code Coverage Tool Reference Manual.
pathname
is a Guardian sub volume or OSS directory.
Current working directoryDefault:
On the command linePlacement:
Applies to the compilation unitScope:
PROFDIR works only if CODECOV is specifiedDependencies:
RESETTOG
RESETTOG turns off all specified toggles, which are used by the IF directive.
Compiler Directives 561










