ILE C/C++ Compiler Reference
Specifies the type of storage (static and automatic) that the module object
will use.
|--+----------------------------+-------------------------------|
| .-*SNGLVL----. |
'-STGMDL(--+-*TERASPACE-+--)-'
'-*INHERIT---'
- *SNGLVL
- Default setting. The module or program will use the traditional
single level storage model. Static and automatic storage for the object
are allocated from single-level store, and can only be accessed using 16-byte
pointers. The module may optionally access teraspace dynamic storage if
the TERASPACE(*YES) option is specified.
- *TERASPACE
- The module or program will use the teraspace storage model. This is
a new storage model that provides up to a 1-terabyte local address space for a
single job. Static and automatic storage for the object are allocated
from teraspace and can be accessed using either 8-byte or 16-byte
pointers.
- *INHERIT
- Valid only with the CRTCMOD and CRTCPPMOD commands. The
module created can use either single level or teraspace storage. The
type of storage used will depend on the type of storage required by the
caller.
Use of STGMDL(*TERASPACE) or STGMDL(*INHERIT) together
with TERASPACE(*NO) will be flagged as an error by the compiler, and
compilation will stop.
The STGMDL(*TERASPACE) and STGMDL(*INHERIT) settings are
ignored if used together with the TGTRLS compiler option and a target release
earlier than V5R1M0 is specified.
For more information about valid combinations for the STGMDL, TERASPACE,
and DTAMDL compiler options, see TERASPACE.
For more information about the types of storage available on iSeries
systems, see Teraspace and single-level store in ILE Concepts.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.