FORTRAN Reference Manual

Program Compilation
FORTRAN Reference Manual528615-001
9-23
Compiling Programs That Use Extended Data Space
Many interactive Binder commands require parameters specified as block names. All
the names of blocks in an object file are listed in the load maps that result from
compilation or interactive binding.
An object file can contain blocks derived from multiple languages. You can use
COBOL85, FORTRAN, and TAL compiled code in a single program. For additional
information about mixed-language programming, see Section 13, Mixed-Language
Programming.
Compiling Programs That Use Extended Data
Space
User data space contains up to 64K words. Section 12, Memory Organization, explains
how FORTRAN allocates storage within the user data space. If your program requires
additional data space, you can use compiler directives to tell FORTRAN to store some
of your program data in extended data space.
To use extended data space in a program that you compile in a single compilation:
Use LARGECOMMON directives for the common data blocks you want FORTRAN
to store in extended memory.
Use LARGEDATA directives for the non-common variables, arrays, and RECORDs
you want FORTRAN to store in extended memory.
To use extended data space in a program that you compile in several separate
compilations:
Follow the same steps listed above, but make sure that any common block listed in
a LARGECOMMON directive in one compilation is also listed in a
#RUCB OLD The Run-Unit Control Block. It contains
pointers to most other special data
blocks.
#MCB COMMON Global data area for run-time
environment.
#CRE_HEAP COMMON Global data area for run-time
environment.
#CRE_GLOBALS COMMON Pointers to data.
#RECEIVE COMMON The buffer that holds messages received
from $RECEIVE.
##FT nnn COMMON File Control Blocks.
Common Blocks Both User data declared in COMMON
statements.
Table 9-5. FORTRAN Data Blocks (page 2 of 2)
Block Name Environment Contents