Table 10 Contents of the Statistics Block
Field |
Subfields |
Meaning |
SBK$L_STLBN
|
|
Contains the starting LBN
of the file if the file is contiguous. If the file is not contiguous,
this field contains a value of 0. The LBN appears as an inverted
longword (the high- and low-order 16 bits are transposed for PDP-11
compatibility). The following subfields are defined:
|
|
SBK$W_STLBNH
|
Starting LBN (high-order
16 bits)
|
|
SBK$W_STLBNL
|
Starting LBN (low-order
16 bits)
|
SBK$L_FILESIZE
|
|
Contains the size of the
file in blocks. The file size appears as an inverted longword (the
high- and low-order 16 bits are transposed for PDP-11 compatibility).
The following subfields are defined:
|
|
SBK$W_FILESIZH
|
File size (high-order 16
bits)
|
|
SBK$W_FILESIZL
|
File size (low-order 16
bits)
|
SBK$B_ACNT1
|
|
Access count (low byte).
Field is for PDP-11 compatibility.
|
SBK$B_LCNT
|
|
Lock count (low byte). Field
is for PDP-11 compatibility.
|
SBK$L_FCB
|
|
System pool address of the
file's file control block.
|
SBK$W_ACNT
|
|
Access count (number of
channels with file open currently).
|
SBK$W_LCNT
|
|
Lock count (the number of
access operations that have locked the file against writers).
|
SBK$W_WCN
|
|
Writer count (the number
of channels that currently have the file open for write).
|
SBK$W_TCNT
|
|
Truncate lock count (the
number of access operations that have locked the file against truncation).
|
SBK$L_READS
|
|
Number of read operations
executed for the file on this channel.
|
SBK$L_WRITES
|
|
Number of write operations executed for
the file on this channel.
|