HP 3000 Manuals

Native Mode and Compatibility Mode [ SNA IMF Programmer's Reference Manual ] MPE/iX 5.0 Documentation


SNA IMF Programmer's Reference Manual

Native Mode and Compatibility Mode 

Native mode is the normal processing mode of the MPE XL operating system.
Native mode applications are those that have been compiled into the
native instruction set of the HP 3000 Series 900 computer. 

Compatibility mode is a processing mode on HP 3000 Series 900 computers
that allows MPE V applications to run on MPE XL machines without changes
or recompilation.

Applications in native mode run faster than applications in compatibility
mode.  If you are running SNA IMF/XL, use the native mode SNA IMF
intrinsic calls, and compile your SNA IMF applications in native mode for
better performance.

Native mode intrinsic calls differ from compatibility mode intrinsic
calls only in BASIC and COBOL. In FORTRAN, SPL, Pascal, and C, native
mode intrinsic calls are identical to compatibility mode intrinsic calls.

In COBOL, native mode intrinsic calls differ from compatibility mode
intrinsic calls in two ways:

   1.  The name of the intrinsic in a compatibility mode intrinsic call
       begins with a "C" for COBOL. The names of intrinsics in native
       mode have no initial "C."

   2.  The word "INTRINSIC" appears in every COBOL intrinsic call in
       native mode.  Compatibility mode intrinsic calls do not contain
       the word "INTRINSIC."

In BASIC, native mode intrinsic calls differ from compatibility mode
intrinsic calls in only one way:  The name of the intrinsic in a
compatibility mode intrinsic call begins with a "B" for BASIC. The names
of intrinsics in native mode have no initial "B."

The "Summary of Intrinsic Calls," at the end of chapter 3, lists all the
intrinsic calls for native mode and compatibility mode.

For information on migrating applications from compatibility mode to
native mode, see the Migration Process Guide (30367-60003) and
Introduction to MPE XL for MPE V Programmers:  Skills Migration Guide 
(30367-60004).



MPE/iX 5.0 Documentation