Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-33
FILE_CREATE_ Procedure
FILE_CREATE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Safeguard Considerations
OSS Considerations
Example
Related Programming Manuals
Summary
The FILE_CREATE_ procedure is used to define a new structured or unstructured disk 
file.  The file can be temporary (and therefore automatically deleted when closed) or 
permanent.  When a temporary file is created, FILE_CREATE_ returns the file name in 
a form suitable for passing to the FILE_OPEN_ procedure.
Some file characteristics, such as alternate keys and partition information, cannot be 
specified through this procedure; you must use the FILE_CREATELIST_ procedure to 
specify them.  
Syntax for C Programmers  
#include <cextdecs(FILE_CREATE_)>
short FILE_CREATE_ ( char *filename 
 ,short maxlen 
 ,short *filenamelen 
  ,[ short file-code ]
  ,[ short primary-extent-size ]
 ,[ short secondary-extent-size ]
 ,[ short maximum-extents ]
 ,[ short file-type ]
 ,[ short options ]
 ,[ short recordlen ]
 ,[ short blocklen ]
 ,[ short keylen ]
 ,[ short key-offset ] );










