HPlogo SNA IMF Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 Using SNA IMF Intrinsics

Native Mode and Compatibility Mode

» 

Technical documentation

» Feedback

 » Table of Contents

 » Glossary

 » Index

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 “Intrinsics Used with Standard MPE I/O” 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 and Introduction to MPE XL for MPE V Programmers: Skills Migration Guide.

Feedback to webmaster