Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-30
FILE_COMPLETE_SET_ Procedure
The COMPLETE^ELEMENT structure is defined in the ZSYS* files. In the TAL 
ZSYSTAL file, it is defined as: 
In the C ZSYSC file, the complete_element structure is defined as: 
Z^FNUM^FD
is a Guardian file number or OSS file descriptor. Specifying a Guardian file number 
of -1D for completion indicates that completion of any Guardian file is requested; 
other specifically enabled Guardian file numbers are ignored.  If you have specified 
a Guardian file number of -1D for completion, you cannot specify any single 
Guardian file for removal from the set of enabled files; you can only specify 
Guardian file number -1D. Specifying Guardian file number -1D for removal means 
that all Guardian files are removed from the set of enabled files. 
For OSS file descriptors, the value -1D can be specified only for removal; 
specifying file descriptor -1D for removal means that all OSS files are removed 
from the set of enabled files.
STRUCT ZSYS^DDL^COMPLETE^ELEMENT^DEF (*);
 BEGIN
 INT(32) Z^FNUM^FD;
 STRUCT Z^OPTIONS;
 BEGIN
 UNSIGNED(1) Z^SET^FILE;
 UNSIGNED(1) Z^FILETYPE;
 BIT_FILLER 14;
 BIT_FILLER 13;
 UNSIGNED(1) Z^READ^READY;
 UNSIGNED(1) Z^WRITE^READY;
 UNSIGNED(1) Z^EXCEPTION;
 END;
 INT(32) Z^COMPLETION^TYPE = Z^OPTIONS;
 END; 
typedef struct __zsys_ddl_complete_element {
 long z_fnum_fd;
 union {
 struct {
 unsigned short z_set_file:1;
 unsigned short z_filetype:1;
 short filler_0:14;
 short filler_1:13;
 unsigned short z_read_ready:1;
 unsigned short z_write_ready:1;
 unsigned short z_exception:1;
 } z_options;
 unsigned long z_completion_type;
 } u_z_options;
} zsys_ddl_complete_element_def;










