Guardian Procedure Calls Reference Manual

Structure Definitions for completion-info
The completion-info parameter is a structure that contains completion information for the
Guardian file that was completed or the OSS file that is ready.
The structures for the completion-info parameter are defined in the ZSYS* files.
The TAL ZSYSTAL file defines two structures: one for the FILE_COMPLETE_ procedure, and one for
the FILE_COMPLETEL_ procedure. For the FILE_COMPLETE_ procedure, the structure for the
completion-info parameter is defined as:
STRUCT ZSYS^DDL^COMPLETION^INFO^DEF (*);
BEGIN
INT Z^FILETYPE;
INT(32) Z^ERROR;
INT(32) Z^FNUM^FD;
STRUCT Z^RETURN^VALUE;
BEGIN
BIT_FILLER 15;
BIT_FILLER 1;
BIT_FILLER 13;
UNSIGNED(1) Z^READ^READY;
UNSIGNED(1) Z^WRITE^READY;
UNSIGNED(1) Z^EXCEPTION;
END;
INT(32) Z^COMPLETION^TYPE=Z^RETURN^VALUE;
INT(32) Z^COUNT^TRANSFERRED=Z^RETURN^VALUE;
INT(32) Z^TAG;
END;
For the FILE_COMPLETEL_ procedure, the structure for the completion-info parameter is defined
as:
STRUCT ZSYS^DDL^COMPLETION^INFO2^DEF (*);
BEGIN
INT Z^FILETYPE;
INT(32) Z^ERROR;
INT(32) Z^FNUM^FD;
STRUCT Z^RETURN^VALUE;
BEGIN
BIT_FILLER 16;
BIT_FILLER 13;
UNSIGNED(1) Z^READ^READY;
UNSIGNED(1) Z^WRITE^READY;
UNSIGNED(1) Z^EXCEPTION;
END;
INT(32) Z^COMPLETION^TYPE=Z^RETURN^VALUE;
INT(32) Z^COUNT^TRANSFERRED=Z^RETURN^VALUE;
INT(64) Z^TAG;
END;
FILE_COMPLETE[L]_ Procedures 369