HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

GETPRIVMODE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

NM and CM callable.

Dynamically enters privileged mode. Privileged mode (PM) capability is required.

CAUTION: Normal operating system checks and limitations are bypassed in privileged mode (PM). It is possible for a PM program to destroy file integrity, including the operating system software itself. Hewlett-Packard will investigate and attempt to resolve problems resulting from the use of PM code. This service, which is not provided under the standard service contract, is available on a time and materials billing basis. Hewlett-Packard will not support, correct, or attend to any modification of the operating system software.

Syntax



   GETPRIVMODE;

Condition Codes

CCE (2)

Request granted. The program was in nonprivileged mode at the time of the intrinsic call.

CCG (0)

Request granted. The program was already in privileged mode at the time of the intrinsic call.

CCL (1)

Not returned.

Operation Notes

After a successful call to GETPRIVMODE, the program remains in privileged mode until a call to GETUSERMODE or the program exits the current procedure. (A procedure refers to a Pascal procedure or function, a C function, a Fortran subprogram, an SPL procedure, or a COBOL program). Any procedures called while in privileged mode will execute in privileged mode. When the procedure that called GETPRIVMODE exits, the previous privilege level is restored.

Related Information

Intrinsics

None

Commands

None

Manuals

None

Feedback to webmaster