HPUNLOADCMPROCEDURE [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
HPUNLOADCMPROCEDURE
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:
Value Meaning
0 Search the system SL only (default)
1 Search the logon account SL, then the system SL
2 Search the logon group SL, then the logon account SL,
and then the system SL
3 Search the program file's account SL, then the system
SL
4 Search 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)
MPE/iX 5.0 Documentation