Open System Services Programmer's Guide
Table 9 Guardian File-System Procedures (continued)
OSS NotesGuardian Procedure
32-bit addresses as well. Extends the capabilities of the
CONTROLBUF procedure.
Fails with file-system error 1163 when the file is an OSS
file.
FILE_CREATE_
Creates a Guardian disk file specifying commonly used
disk file properties.
Fails with file-system error 1163 when the file is an OSS
file.
FILE_CREATELIST_
Creates a Guardian disk file specifying properties in
addition to commonly used disk file properties.
Bit 15 of the flags parameter = 0 if the file is a Guardian
file, 1 if the file is an OSS file.
FILE_GETINFO_
Gets information about a file by number.
Bit 15 of the flags parameter = 0 if the file is a Guardian
file, 1 if the file is an OSS file.
FILE_GETINFOBYNAME_
Gets information about a file by name.
If the item-list parameter specifies item 161 and the
result parameter returns 1, the file is an OSS file.
FILE_GETINFOLIST_
Gets detailed information about a file.
For systems running J-series RVUs, H06.08 and later
H-series RVUs, or G06.29 and later G-series RVUs only,
if the item-list parameter specifies item 169 and the
result parameter returns 11 bit on, OSS ACL file security
is in effect.
Access to record position pointers in 32-bit fields (item
codes 11 and 12) using this API fails with the error
FEBIGKEYS on an OSS file that was opened using 64-bit
elections. An alternative is to access the record position
pointers in 64-bit fields (item codes 201 and 202).
Other item-list parameter items are also specific to OSS
files. Refer to procedure description in the Guardian
Procedure Calls Reference Manual for OSS information.
If the item-list parameter specifies item 161 and the
result parameter returns 1, the file is an OSS file.
FILE_GETINFOLISTBYNAME_
Gets detailed information about a file by name.
Access to record position pointers in 32-bit fields (item
codes 11 and 12) using this API fails with the error
FEBIGKEYS on an OSS file that was opened using 64-bit
elections. An alternative is to access the record position
pointers in 64-bit fields (item codes 201 and 202).
This procedure operates only on Guardian files. Error 0 is
returned if the file is an OSS file.
FILE_GETLOCKINFO_
Gets information about locks held or pending on a local
disk file or local disk volume.
When FILE_GETOPENINFO_ is given a Guardian filename
that refers to an OSS file, the primary process handle
FILE_GETOPENINFO_
Gets information about the opens of one disk file on a disk
device, all the opens on a disk device, or the opens of
certain nondisk devices.
returned is for the initial opener. The process handle might
no longer exist.
FILE_LOCKFILE64_
Beginning with the H06.24 and J06.13 RVUs, excludes
other users from accessing a file (and any records within
that file). The FILE_LOCKFILE64_ procedure is intended for
use with 64-bit extended addresses, but it can be used with
32-bit addresses as well. Extends the capabilities of the
LOCKFILE procedure.
FILE_LOCKREC64_
Beginning with the H06.24 and J06.13 RVUs, excludes
other users from accessing a record at the current position.
The FILE_LOCKREC64_ procedure is intended for use with
Guardian File-System Procedures 101