DIRECT fileid,keysize,records,recsize{,ERR=lineref}
The DIRECT verb creates a direct file to the given specifications.
|
Parameter |
Description |
|
fileid |
Name of the new file; must be unique. |
|
keysize |
Maximum length of a key in the file; must be an integer in the range of 1 to 64. |
|
records |
Number of records to be allocated; must be an integer greater than zero. |
|
recsize |
Size of each record in bytes; must be an integer in the range of 1 to 32767. The total size of the file cannot exceed (2^31)-1 bytes. The number of bytes required for any given direct file can vary from system to system. |
|
ERR=lineref |
Branch to be taken if an error occurs during execution. |
PRO/5 takes the optional ERR= branch if a problem occurs while creating the file.
DIRECT files have been largely superseded by MKEYED files but are maintained for compatibility with earlier releases of BASIS products.
>DIRECT "ACCOUNTS",10,100,512,ERR=9500