tcl.get-fof Verb: Access/TCL

tcl.get-fof

Command tcl.get-fof Verb: Access/TCL
Applicable release versions: AP 6.2
Category TCL (746)
Description returns the item-id in the file-of-files associated with the specified file.
Syntax get-fof file.reference
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.
Purpose
Related tcl.list-file-access
filename.file-of-files
ue.90