TNS/E Native Application Conversion Guide
Converting COBOL Programs
TNS/E Native Application Conversion Guide—529659-003
4-10
Removal Optional
Instead of using the ENV LIBRARY directive to build a TNS user library, use the UL
or SHARED directive to build a PIC object file, which can be used by the linker to
create a DLL (see the
COBOL Manual for TNS/E Programs
).
•
EXTENDED-STORAGE SECTION header
Native COBOL does not need an Extended-Storage Section. The native COBOL
compiler handles data items that are described in the Extended-Storage Section as
if they were described in the Working-Storage Section. The native COBOL
compiler does not issue a warning if you use the EXTENDED-STORAGE
SECTION header.
•
HEAP directive
•
HIGHPIN directive
Native COBOL programs always run at a high PIN.
•
HIGHREQUESTERS directive
Native COBOL programs can always run as servers that communicate with
requesters running at high PINs.
•
ICODE and NOICODE
The native COBOL compiler ignores these directives, warning you that it has done
so. Use the INNERLIST and NOINNERLIST directives instead (see INNERLIST
and NOINNERLIST directives on page 4-11).
•
LMAP and NOLMAP directives
The LMAP and NOLMAP directives determine which load maps the compiler
obtains from BINSERV. The native COBOL compiler does not use BINSERV.
•
NOCONSULT
•
NOSEARCH
•
NOSQL
This is the default for native COBOL programs.
•
SQLMEM
The concept of extended memory does not exist in native mode.
•
TRAP2 and NOTRAP2
Native COBOL85 programs have traps set by default.
•
TRAP2-74 and NOTRAP2-74
Native COBOL programs cannot call COBOL 74 programs.










