C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

SQLMEM { USER | EXT }
USER
directs the compiler to place the SQL data structures in the user data segment, which is the
global area addressable in 16 bits. The SQLMEM USER pragma improves the access time to
the data structures but should be used judiciously, because it can exhaust the user data segment.
EXT
directs the compiler to place the SQL data structures in the extended segment.
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
Not setNot setTNS C compiler
Not set for C, N.A. for C++Not set for C, N.A. for C++G-series TNS c89 utility
N.A.N.A.TNS/R native C and C++ compilers
N.A.N.A.Native c89 and c99 utilities
N.A.N.A.TNS/E native C and C++ compilers
Usage Guidelines
The SQLMEM pragma can be entered on the compiler RUN command line or in the source
text. You can use the SQLMEM pragma as many times as necessary in the program.
You can specify the SQLMEM pragma only if the XMEM and SQL pragmas have been previously
specified.
The native C and C++ compilers do not support this pragma. Native process memory
architecture does not require its use.
SRL
The SRL pragma specifies that a module is being compiled to link into a TNS/R native user library.
(A TNS/R native user library is a private shared run-time library (SRL).
SRL
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
Not setNot setTNS/R native C and C++ compilers
Not setNot setNative c89 utility
N.A.N.A.c99 utility
N.A.N.A.TNS/E native C and C++ compilers
SRL 241