tcl.get-fof

Verb: Access/TCL, Releases: AP 6.2

returns the file-of-files item-id for the specified file

Syntax

get-fof file.reference

Description

returns the item-id in the file-of-files associated with the specified file.

Options

l Generate a select list containing the file-of-files id.

s Suppress the output of the item-id.

Example

This command is useful for getting statistical data contained about a file in
the file-of-files. For example:

get-fof bp (ls
3749

[404] 1 items selected out of 1 items.
list fof fname sug.mod modulo
Page 1 fof 09:42:39 09 May 1994
fof...... fname...... sug.mod. modulo..
3749 bp bp 23 17

[405] 1 items listed out of 1 items.
This example shows that the optimal modulo for the file (in attribute sug.mod)
is significantly larger than the real modulo. Based on these results, this
file would be a good candidate for resizing.

See Also

Command Name Type Description
tcl.list-file-access Verb: Access displays file access statistics
filename.file-of-files Definition Statistical information on all files.
ue.90 User Exit returns the file-of-files number for the previously access file.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.