Measure Reference Manual
DISKFILE^OSS^DESC
is the descriptor for DISKFILE entities that supports OSS file pathnames.
Struct Diskfile^OSS^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
Struct File^name^MID( MID^def ); -- Internal identifier for OSS pathname
End;
Definitions of the DISKFILE^OSS^DESC fields that differ from the DISKFILE^DESC descriptor follow.
For definitions of all other fields, see DISKFILE^DESC (page 464).
FILE^NAME^MID
is a structure that contains the internal-format file name for the OSS pathname.
STRUCT MID^def (*) ! High level view of Measure ID
begin
Int Pathid[0:11];
Int Crvsn[0:2];
End;
pathid
INT:value:12
is the internal format representation of the OSS file pathname for the specified disk file that
belongs to an OSS file set. Initialize PATHID[0] to -1 to indicate all PATHIDs.
crvsn
INT:value:3
is the creation version serial number that identifies a unique instance of an OSS disk file.
Initialize CRVSN[0] to -1 to indicate all CRVSN values.
DISKFILE^ANSI^DESC
is the descriptor for DISKFILE entities that supports ANSI SQL objects.
Struct Diskfile^ANSI^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
Struct File^name^MID( MID^def ); -- Internal identifier
-- for OSS pathname
Struct SQLMX^Obj^Desc (ANSI^SQL^object^def); -- ANSI SQL name
-- selection info
End;
Definitions of the DISKFILE^ANSI^DESC fields that differ from the DISKFILE^DESC descriptor follow.
For definitions of all other fields, see DISKFILE^DESC (page 464).
FILE^NAME^MID
is a structure that contains the internal-format file name for the OSS pathname.
STRUCT MID^def (*) ! High level view of Measure ID
begin
Int Pathid[0:11];
Int Crvsn[0:2];
end;
DISKFILE^OSS^DESC 465