TAL Programmer's Guide
CRE Guidelines for TAL
Mixed-Language Programming
17–40 096254 Tandem Computers Incorporated
ENV OLD Directive
An object file compiled with ENV OLD can run in a COBOL85 or FORTRAN run-time
environment outside the CRE (if the object file meets the requirements of the run-time
environment).
When ENV OLD is in effect, all routines in the compilation unit (except routines in
object files listed in SEARCH directives) have the ENV OLD attribute. SEARCH
directives can list object files compiled with any ENV attribute except COMMON.
Each routine in a SEARCH file retains its original ENV attribute.
Using Binder, you can bind a TAL object file compiled with ENV OLD to any object
file (regardless of language) except those compiled with ENV COMMON. Each
routine in the new object file retains its original ENV attribute.
A D-series TAL program compiled with ENV OLD can run on a C-series system. To
debug the program with the Inspect product, however, your system must be a release
level C30.06 or later
ENV NEUTRAL Directive
An object file compiled with ENV NEUTRAL should not rely on any external services
except system procedures.
When ENV NEUTRAL is in effect, all routines in the compilation unit (except routines
in object files listed in SEARCH directives) have the ENV NEUTRAL attribute.
SEARCH directives can list object files compiled with ENV NEUTRAL or with no ENV
directive. Each routine in the new object file has the ENV NEUTRAL attribute.
Using Binder, you can bind an object file compiled with ENV NEUTRAL to any object
file. Each routine in the new object file retains its original ENV attribute.
ENV Directive Not Specified
An object file compiled without the ENV directive probably does not rely on any
external services except system procedures.
When no ENV directive is in effect, all routines in the compilation unit (except routines
in object files listed in SEARCH directives) have the ENV NEUTRAL attribute.
SEARCH directives can list object files compiled with any ENV attribute. Each routine
in a SEARCH file retains its original ENV attribute.
Using Binder, you can bind an object file compiled without the ENV directive to any
object file. Each routine in the new object file retains its original ENV attribute.