0
|
FL$OPEN
|
Check if file is open. Returns true (1) if file.var is associated with an open file, false (0) if it is not.
|
1
|
FL$VOCNAME
|
Returns the VOC name used to open the file.
|
2
|
FL$PATH
|
Returns pathname of open file.
|
3
|
FL$TYPE
|
File type. Returns one of
FL$TYPE.DH (3) - Dynamic file
FL$TYPE.DIR (4) - Directory file
FL$TYPE.SEQ (5) - Sequential file
FL$TYPE.VFS (6) - Virtual file system
|
5
|
FL$MODULUS
|
File modulus (dynamic files only)
|
6
|
FL$MINMOD
|
Minimum modulus (dynamic files only)
|
7
|
FL$GRPSIZE
|
Group size (dynamic files only)
|
8
|
FL$LARGEREC
|
Large record size (dynamic files only)
|
9
|
FL$MERGE
|
Merge load percentage (dynamic files only)
|
10
|
FL$SPLIT
|
Split load percentage (dynamic files only)
|
11
|
FL$LOAD
|
Current load percentage (dynamic files only)
|
13
|
FL$AK
|
File has AK indices (dynamic files only)
|
14
|
FL$LINE
|
Line to read or write next (sequential files only)
|
1000
|
FL$LOADBYTES
|
Current load bytes (dynamic files only)
|
1001
|
FL$READONLY
|
Returns true (1) is file is read-only
|
1002
|
FL$TRIGGER
|
Returns trigger function name, null if none
|
1003
|
FL$PHYSBYTES
|
Returns total size of file, excluding indices
|
1004
|
FL$VERSION
|
Internal file version (dynamic files only)
|
1005
|
FL$STATS.QUERY
|
Returns true (1) if file statistics gathering is enabled
|
1006
|
FL$SEQPOS
|
File position (sequential files only)
|
1007
|
FL$TRG.MODES
|
Returns mode flags for trigger function
|
1008
|
FL$NOCASE
|
Returns true (1) if the file uses case insensitive ids.
|
1009
|
FL$FILENO
|
Returns the internal file number for file.var.
|
1011
|
FL$AKPATH
|
Returns the pathname of the alternate key index directory. This is a null string in the indices are in their default location.
|
1012
|
FL$ID
|
Returns the id of the last record read from the file. Used with a dynamic file that is configured for case insensitive record ids, this will return the actual id as stored in the file, which may differ in casing from that supplied in the associated READ statement.
|
1013
|
FL$STATUS
|
Returns a dynamic array as for the STATUS statement.
|
1014
|
FL$MARK.MAPPING
|
Returns true if mark mapping is enabled, false if not (directory files).
|
1015
|
FL$RECORD.COUNT
|
Returns a count of the number of records in the file (dynamic files only). This count may be incorrect if the file was not closed in the event of an abnormal process termination such as a system failure. The counter will be corrected by use of a select operation during which there were no updates to the file or by use of the QMFix utility. The value will be returned as -1 until the count is set or for non-dynamic files.
|
1016
|
FL$PRI.BYTES
|
Physical size of the primary subfile in bytes (dynamic files only). This figure will include space previously used by groups that have been discarded as the result of a merge operation.
|
1017
|
FL$OVF.BYTES
|
Physical size of the overflow subfile in bytes (dynamic files only). This figure will include space previously used by overflow blocks that are no longer active and are retained for future use.
|
1018
|
FL$NO.RESIZE
|
Is resizing inhibited on this file? See the description of dynamic files for more information.
|
1019
|
FL$UPDATE
|
Returns the file update counter. This counter, shared across all users of the file, is initially set to 1 when a file is first opened and is incremented by every write, delete or clear file operation. It can be used to detect whether a file has been updated by another process.
|
1020
|
FL$ENCRYPTED
|
Returns true if the file uses encryption, false otherwise.
|