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

LOADPROC

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

NM and CM callable.

Dynamically loads a compatibility mode (CM) segmented library (SL) procedure and any external procedures it has referenced.

Syntax

    I16               CA      I16V   I16

   idnum:=LOADPROC(procname,library,plabel);

Functional Return

idnum

16-bit signed integer (assigned functional return)

Returns an identity number required by the UNLOADPROC intrinsic to unload the CM SL procedure dynamically. If a loader error occurs (condition code returns CCL (1)), the identity number represents a CM loader error number.

Parameters

procname

character array (required)

Passes the name of the procedure to be loaded. The procedure name must be terminated with a blank and be <= 15-characters; excess characters are truncated without a warning message and any procedure matching the truncated name is loaded.

library

16-bit signed integer by value (required)

Passes a value requesting a library search for the procedure residing in your logon group:

ValueMeaning
0Search system SL only
1Search logon account SL, then system SL
2Search logon group SL, logon account SL, then system SL
3Search program file's account SL, then system SL
4Search program file's group SL, program file's account SL, and then system SL

plabel

16-bit signed integer by reference (required)

Returns the procedure's label. This is the external CM plabel.

Condition Codes

CCE (2)

Request granted.

CCG (0)

Not returned.

CCL (1)

Request denied. The value returned to idnum is a CM loader error code.

Related Information

Intrinsics

None

Commands

None

Manuals

Switch Programming Guide (32650-90014)

Feedback to webmaster