MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 7 317
Command Definitions (HP32208-HPLOACNMPROC)
HPACDPUT
HPACDPUT
Manipulates security information in the access control definition (ACD) of a specified file
or device.
Syntax
I32 IV * IV *
HPACDPUT(
status,itemnum1,item1,itemnum2,item2
);
Parameters
status
32-bit signed integer by reference (required)
Returns the status of the HPACDPUT 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 for a description of its
value.
Bits (16:16) comprise
status.subsys
. The value represents the subsystem
that sets the status information. The subsystem identifier for HPACDPUT is
246.
itemnum1
integer by value (required)
Passes an identifier code defining the accompanying paired input (
item1
).
The values for
itemnum1
are described in the
item1
parameter
description. Refer to Table 7-3., “HPACDPUT Itemnum1/Item1 Values,” on
page 318.
item1
Type varies by reference (required)
Passes the file or device identification information. The file or device
identifier must be specified using one of the following predefined
itemnum1/item1
pairs. Refer to Table 7-3., “HPACDPUT Itemnum1/Item1
Values,” on page 318.
itemnum2
Integer by value (required)
Passes the function code defining the accompanying paired input (
item2
).
The values for
itemnum2
are described in the
item2
parameter
description. Refer to Table 7-4., “HPACDPUT Itemnum2/Item2 Values,” on
page 319.