TNS/R Native Application Migration Guide
Introduction to Native Mode
TNS/R Native Application Migration Guide—523745-001
1-17
Kernel-Managed Swap Facility (KMSF)
Table 1-2. Comparing Swap for TNS and Native Processes
How Specified Effect on TNS Processes Effect on Native Processes
RUN command SWAP
option
SWAP DEFINEs
Swap file parameters in
process creation procedures
such as NEWPROCESS,
PROCESS_CREATE_, and
PROCESS_LAUNCH_
Managed by KMSF.
Ignored.
Value passed for
informational purposes
In some cases, specifies
the volume for temporary
files created by a process
Managed by KMSF. Ignored.
Value passed for informational
purposes
In some cases, specifies the
volume for temporary files
created by a process
RUN command EXTSWAP
option
Extended swap file
parameters in process
creation procedures such as
PROCESS_CREATE_ and
PROCESS_LAUNCH_
Specifies the volume or
file for a process’s default
extended data segment
Managed by KMSF unless
an option, value, or file is
specified
Ignored. Native process
architecture does not have
extended swap space.
RUN command MEM option
?DATAPAGES directive
Memory pages parameters
in process creation
procedures such as
NEWPROCESS,
PROCESS_CREATE_, and
PROCESS_LAUNCH_
Specifies the number or
maximum number of data
pages to be allocated for a
process’ user data stack
Managed by KMSF. Ignored.
Similar heap attribute values
set with nld utility or
PROCESS_LAUNCH_
procedure
STATUS commands and
process information
procedures such as
PROCESSINFO
Returns the default or
specified swap file name
for a process’ user data.
Actual swap file managed
by KMSF.
If managed by KMSF,
returns the volume name
and #0 for a process’
compiler-generated
(default) extended data
segment. Actual swap file
managed by KMSF.
Returns the default or specified
swap file name for a process’
user data. Actual swap file
managed by KMSF.
Returns the volume name and
#0 for a process’ compiler-
generated (default) extended
data segment. Actual swap file
managed by KMSF.
ALLOCATESEGMENT or
SEGMENT_ALLOCATE_
procedure with volume or file
name specified
Swap managed by
process
Swap managed by process
ALLOCATESEGMENT or
SEGMENT_ALLOCATE_
procedure without volume or
file name specified
Managed by KMSF Managed by KMSF