Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-29
FILE_COMPLETE_SET_ Procedure
Syntax for TAL Programmers
Parameters
status returned value
INT
is a file-system error number indicating the outcome of the operation.
complete-element-list input
INT .EXT:ref:*(ZSYS^DDL^COMPLETE^ELEMENT^DEF)
is an array of COMPLETE^ELEMENT structures. Each structure describes one
Guardian file or OSS file which the caller wants to add to or remove from the set of
files enabled for completion. For information on the fields of the structure, see
“Structure Definition for COMPLETE^ELEMENT.”
num-complete-elements input
INT
is the total number of Guardian files and OSS files specified in the
complete-element-list parameter.
error-complete-element output
INT .EXT
returns the index to a COMPLETE^ELEMENT structure in the
complete-element-list parameter indicating the file that is in error. If an error
occurs, the call has no affect on the previously established set of files enabled for
completion. An
error-complete-element value of -1 is returned if no error
occurs or if the error does not apply to a particular file in
complete-element-list.
Structure Definition for COMPLETE^ELEMENT
The complete-element-list parameter to the FILE_COMPLETE_SET_ and
FILE_COMPLETE_ procedures and the
info-list parameter to the
FILE_COMPLETE_GETINFO_ procedure contain arrays of COMPLETE^ELEMENT
structures. Each structure describes a Guardian file or OSS file that the caller wants to
add to or remove from the set of files enabled for completion.
status := FILE_COMPLETE_SET_ (
complete-element-list ! i
,num-complete-elements ! i
,[ error-complete-element ] ); ! o