tcl.list-file-stats

Verb: Access/TCL, Releases: AP and R83

Generates file statistics report.

Syntax

list-file-stats {det-supp} {nopage} {lptr} {hdr-supp} col-hdr-supp} {ni-supp} {leg-supp | legend-supp'} {tcl-supp} {(options}

Description

produces the 'file statistics' report generated from the most recently executed 'file-save' or 'account-save'.

Statistics are produced from the 'dm,file-of-files,' file. The data that is displayed is as follows:

'r#' is the reel number (or volume number) that the file resides on (from the last file-save).

'seq#' is the file sequence number, which numbers from 1 to nn across the whole file-save.

'file#' is the file sequence number in the system's master dictionary.

'fname' is the file name.

'mod' is the modulo of the file.

'bytes' is the size (in bytes) of the file.

'items' is the number of items in the file.

'ovfitms' is the number of items residing in overflow frames (secondary filespace).

'frames' is the total number of frames used by this file.

'ptr-fms' is the number of pointer frames used by this file.

Options

'list-file-stats' is a Pick/BASIC program 'filter' which limits the command to just the options: b, c, h, n, and p, as well as the modifiers listed.

Example

sort dm,file-of-files, by name id-supp reel# seq# file# roll-on acct '***
'UVF'' fname mod total bytes total items total ovf-itms total
frames total ptr-fms grand-total ''U'' heading 'PAGE
'P' ** FILE STATISTICS REPORT ** 'DCLL'' with stat#
'2' lptr

PAGE1 ** FILE STATISTICS REPORT ** 16 Jan 1997

r# seq#. file# fname...... mod bytes items ovfitms frames ptr-fms

3 89 134 17 4470 8 25 8
4 109 142 01 1 556 1 2 1
4 111 139 TOOLS 1 20632 20 22 21
4 113 141 TOOLS OBSLT 1 15080 30 28 17 5
4 112 140 TOOLS TOOLS 3 23226 30 18 29 21
--------- ----- ------- ------ -------
*** atp4 359333 125 479 366 131
--------- ----- ------- ------ ------
*** tutor 172970 945 355 210 129
========= ===== ======= ====== =======
4170691 15323 6229 5546 2645
[405] 132 items listed out of 158 items.

See Also

Command Name Type Description
access.col-hdr-supp Modifier suppresses column and page headings on Access reports.
access.nopage Modifier Outputs report without pausing at the bottom of each page.
access.lptr Modifier Directs output to printer.
access.tcl-supp Modifier Suppresses TCL command on printed output.
tcl.save Verb: Access Invokes backup process.
tcl.lfs Verb: Access Produces file statistics report.
tcl.file-save_rp Verb: Access System backup process.
tcl.sel-restore Verb: Access Restores item(s) from save media.
tcl.check-account Verb: Access Performs dummy save.
access.ni-supp Modifier Suppresses 'number of items listed' message.
access.det-supp Modifier Suppresses detail on Access reports.
ue.28 User Exit Returns file-save count.
tcl.account-restore Verb: Access Restores one account.
f/realloc Attribute Defining Item References attribute 13 of current item.
file.control.block Definition Description of file control block.

User Comments

What do you think?

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

Login to leave your comments.