COBOL Manual for TNS and TNS/R Programs
Migrating TNS Programs to Native Programs
HP COBOL Manual for TNS and TNS/R Programs—522555-006
33-18
Removal Optional
Removal Optional
The NMCOBOL and ECOBOL compilers ignore these items, so you can (but need not)
remove them from your source program. The NMCOBOL and ECOBOL compilers give
a warning when they find these items, except as noted.
•
CODE and NOCODE directives
The NMCOBOL and ECOBOL compilers do not produce an octal code listing. If
you need to display an object file, use one of these utilities:
•
COMPACT and NOCOMPACT directives
These directives determine whether BINSERV attempts to compact the code
space of the target file. The NMCOBOL and ECOBOL compilers do not use
BINSERV.
•
CROSSREF and NOCROSSREF directives
The NMCOBOL and ECOBOL compilers do not produce a cross-reference listing.
If you need one, use the appropriate utility from the table in CODE and NOCODE
directives with the XREFPROC flag.
•
ENV COMMON directive
Native HP COBOL programs always run in the CRE. The NMCOBOL and
ECOBOL compilers do not issue a warning if you use this directive.
•
ENV LIBRARY directive
Instead of using the ENV LIBRARY directive to build a TNS user library, use the
directive UL to build a user library or the directive SHARED to build a DLL.
•
EXTENDED-STORAGE SECTION header
Native HP COBOL does not need an Extended-Storage Section. The NMCOBOL
and ECOBOL compilers handle any data items that are described in the Extended-
Storage Section as if they were described in the Working-Storage Section. The
NMCOBOL and ECOBOL compilers do not issue a warning if you use the
EXTENDED-STORAGE SECTION header.
•
FLOAT and NOFLOAT directives
•
HEAP directive
•
HIGHPIN directive
Native HP COBOL programs always run at a high PIN.
Compiler Utility Documentation
NMCOBOL noft noft Manual
ECOBOL enoft enoft Manual