CREATE.FILE

CREATE.FILE

Top  Previous  Next

 

The CREATE.FILE statement creates the operating system representation of a directory or dynamic hash file.

 

 

Format

 

CREATE.FILE path{DIRECTORY | DYNAMIC}

{GROUP.SIZE grpsz}

{BIG.REC.SIZE bigrec}

{MIN.MODULUS minmod}

{SPLIT.LOAD split}

{MERGE.LOAD merge}

{VERSION ver}

{ON ERROR statement(s)}

 

where

 

pathevaluates to the pathname of the file to be created. The DIRECTORY or DYNAMIC keywords determine the type of file to be created. One and only one of these keywords must be present. The remaining options apply only to creation of a dynamic file and, where included, must appear in the order shown above.

 

grpszis the group size (1 - 8) in multiples of 1024 bytes.

 

bigrecis the large record size in bytes.

 

minmodis the minimum modulus value. For compatibility with the CREATE.FILE command, the synonym MINIMUM.MODULUS may be used.

 

splitis the split load percentage.

 

mergeis the merge load percentage.

 

veris the file version.

 

The CREATE.FILE statement creates the operating system representation of a directory or dynamic hash file using the configuration information supplied via its optional parameters. Omitted parameters take their system defined default values. Note that this statement does not create a corresponding VOC entry.

 

 

 

Example

 

CREATE.FILE 'C:\MYFILE' DYNAMIC GROUP.SIZE 4

 

This statement creates a dynamic hash file with group size 4 (4096 bytes) as the C:\MYFILE directory.