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

HPUNLOADCMPROCEDURE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

NM callable only.

Unloads a target CM procedure whose plabel is obtained through the HPLOADCMPROCEDURE intrinsic.

Syntax

                          CA       U8V   I32

   HPUNLOADCMPROCEDURE(procname,library,status);

Parameters

procname

character array (required)

Passes as ASCII procedure name, left-justified and padded with blanks. The name can have a maximum of 16 characters.

library

8-bit unsigned integer by value (required)

Passes indicator of the CM segmented library to be searched. The valid values are as follows:

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

status

32-bit signed integer by reference (optional)

Returns the status of the HPUNLOADCMPROCEDURE intrinsic call. If no errors or warnings are encountered, status returns 32 bits of zero. If errors or warnings are encountered, status is interpreted as two 16-bit fields.

Bits (0:16) comprise status.info. A negative value indicates an error condition, and a positive value indicates a warning condition. Refer to the MPE/iX Error Message Manual Volumes 1, 2 and 3 (32650-90066, 32650-90152, and 32650-90368) for a description of its value.

Bits (16:16) comprise status.subsys. The value represented by these bits defines the subsystem that set the status information. The subsystem identifier for HPUNLOADCMPROCEDURE is 105.

Operation Notes

Procedures are automatically unloaded when your process terminates. Use the HPUNLOADCMPROCEDURE intrinsic to unload before the process terminates.

Related Information

Intrinsics

None

Commands

None

Manuals

Switch Programming Guide (32650-90014)

Feedback to webmaster