Measure Reference Manual
DISKFILE^DESC
is the descriptor for DISKFILE entities.
For OSS file pathnames, use the template DISKFILE^OSS^DESC (page 465).
Struct Diskfile^desc (*); -- Diskfile descriptor declaration
Begin
Int Type; -- Diskfile entity type
Int Len; -- byte length of the descriptor
Int Filecode; -- file code
Int Filetype; -- file type
Int File^name[0:11]; -- as it says
End;
type
INT:value:1
is the literal value DISKFILE^T or the numeric identifier 19.
A positive type value includes the specified entities in the measurement configuration. A
negative type value excludes the specified entities from measurement. For an example, see
Specifying Entity Descriptors (page 376).
len
INT:value:1
is the length in bytes of this descriptor. len is 32.
filecode
INT:value:1
is the three-digit file code (for example, 100 for object files and 101 for edit files). For a
complete list of file codes, see the File Utility Program (FUP) Reference Manual.
filetype
INT:value:1
is the type of the file to be measured. The four file types are:
ValueFile Type
0Unstructured
1Relative
2Entry-sequenced
3Key-sequenced
file^name
INT:value:12
is the name of the file to be measured. The name must be left-justified, blank-filled, and in local
internal format. You can use asterisks (*) for the volume, subvolume, and file-name fields within
file^name.
464 Entity Descriptors