_stat.pub Utility - File Statistics

Syntax

call "_stat.pub",fileid,type,keysize,number_of_recs,recsize,active_keys,error

Description

The _stat.pub utility is used to get current file statistics. Depending on the type of the file, the following values are returned:

Returned Value

Format

Type of File

String

Key Size

Numeric

Number of Records

Numeric

Record Size

Numeric

Active Keys

Numeric

If the file is missing or unavailable, an error string is returned specifying which condition occurred.

See Also

Alphabetical Utilities

Functional Listing of Utilities