skip book previous and next navigation links
go up to top of book: HP OpenVMS I/O User's Reference Manual HP OpenVMS I/O User's Reference Manual
go to beginning of chapter: ACP-QIO Interface ACP-QIO Interface
go to previous page: ACP-QIO Record Attributes Area ACP-QIO Record Attributes Area
go to next page: Major FunctionsMajor Functions
end of book navigation links

ACP-QIO Attributes Statistics Block  



ACP-QIO Attributes Statistics Block shows the format of the attributes statistics block. Contents of the Statistics Block lists the contents of this block.  

Figure 6  ACP-QIO Attributes Statistics Block  
ACP--QIO Attributes Statistics Block

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.


Footnotes
1Accesses from processes on the local node in a cluster are counted.

( Number takes you back )


go to previous page: ACP-QIO Record Attributes Area ACP-QIO Record Attributes Area
go to next page: Major FunctionsMajor Functions