MPE/iX Intrinsics Reference Manual (32650-90875)

216 Chapter5
Command Definitions (FCONTROL - FLOCK)
FLABELINFO
50 I32 KSAM XL and KSAM64 File Version:
This item returns a value indicating the version number of a KSAM XL or
KSAM64 file. A value of 1 indicates an original type KSAM XL file. A value of 2
indicates the next generation KSAM XL file. A value of zero is returned if the file
is not a KSAM XL file. A value of 4 indicates a KSAM64 file.
51 I32 KSAM XL/64 Parameters:
This item returns the
ksamparam
for KSAM XL/64 files, which is an array that
specifies the characteristics for up to 16 keys for the file.
52 I32 MPE/iX Device Type:
This item returns the following values for the following types of devices:
0=Disk device
1=Tape device
2=Terminal device
3=Printer device
4=Remote device
5=Ports device
6=Reserved
7=Streams device
8=Sockets device
53 I16 Secure/Release:
This item returns a value indicating whether the file is currently secured or
released. A value of 1 indicates that the file is secured. A value of zero indicates
that the file is released.
54 I32 Setuid flag
This item returns a value indicating whether or not the setuid flag is on for the
specified file. When the setuid flag is on for a program file (the value is 1), the
program will execute under the identity of the file's owner rather than assuming
the identity of the process that invoked the program. A value of zero indicates
the flag is off.
55 I32 Setgid flag
This item returns a value indicating whether or not the setgid flag is on for the
specified file. When the setgid flag is on for a program file (the value is 1), the
program will execute with the GID membership of the file rather than assuming
the GID membership of the invoking process. A value of zero indicates that the
flag is off.
Table 5-6. FLABELINFO Itemnum/Item Values
Item
num
Mnem
onic
Item Description