[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here 1.5 ACP-QIO Attributes Statistics Block
HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Chapter 1 ACP-QIO Interface

1.5 ACP-QIO Attributes Statistics Block

Figure 1-6 shows the format of the attributes statistics block. Table 1-10 lists the contents of this block.

Figure 1-6 ACP-QIO Attributes Statistics Block

ACP-QIO Attributes Statistics Block

Table 1-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_ACNT[1]

 

Access count (low byte). Field is for PDP-11 compatibility.

SBK$B_LCNT[1]

 

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[1]

 

Access count (number of channels with file open currently).

SBK$W_LCNT[1]

 

Lock count (the number of access operations that have locked the file against writers).

SBK$W_WCN[1]

 

Writer count (the number of channels that currently have the file open for write).

SBK$W_TCNT[1]

 

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.

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