This routine creates a new relative file. It will overwrite any existing file of the same name. However, it will not overwrite a file that is currently in use. If the file is in use, the error E_FILE_LOCKED is returned.
The R-MAKE-FUNCTION routine has two required parameters and one optional parameter: filename, l_params, blocks.
filename | is the name of the file to create. The name need not be null-terminated. |
l_parms | is a string that describes logical characteristics of the file. The string consists of two numeric fields separated by a
comma. The string must be null-terminated. The fields are as follows:
|
blocks | is the size of a block of records in bytes. The default is zero (0). |