Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-39
FILE_CREATE_ Procedure
When creating a file on a SMF virtual volume, the system chooses the physical
volume on which the file will reside. If you want to specify the physical volume, you
must create the file using the FILE_CREATELIST_ procedure.
Safeguard Considerations
For information on files protected by Safeguard, refer to the Safeguard Reference
Manual.
OSS Considerations
This procedure operates only on Guardian objects. If an OSS file is specified,
error 1163 is returned.
The OSS open() function always opens Guardian files with shared exclusion
mode.
Example
file^type := 0;
options.<15> := 1; ! create an odd unstructured file
error := FILE_CREATE_ ( name:buflen, namelen, file^code,
pri^ext,,, file^type, options );
Related Programming Manuals
For programming information about the FILE_CREATE_ procedure, refer to the
Enscribe Programmer’s Guide and the Guardian Programmer’s Guide.