Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-111
FILE_GETSYNCINFO_ Procedure
Parameters
error
INT:value
is a file-system error code that gives the status of the operation.
filenum input
INT:value
is the number that identifies the open file.
infobuf output
INT:EXT.ref:*
is where the synchronization information is stored. The size is given in the
infomax parameter.
infomax input
INT:value
specifies the size in bytes of the
infobuf parameter. See “Considerations.”
infosize output
INT:EXT.ref:1
returns the size in bytes of the information stored in the
infobuf parameter.
Considerations
•
The size of the infomax parameter must meet these limits:
•
For nondisk files, except the Transaction Monitoring Facility (TMF) transaction
pseudofile (TFILE), the size must be at least 10 bytes. For the TMF product,
the size must be at least 30 bytes.
•
For disk files, the size must be at least 44 bytes for non-key-sequenced files,
and the sum of the primary-key length and 44 bytes for key-sequenced files.
•
For files with alternate keys, the size must be at least primary-key length plus
maximum alternate-key length and 44 bytes. The primary-key length is 8 bytes
for non-key-sequenced files, and the maximum alternate-key length is the
maximum value of all the alternate keys for the file.
•
For any currently supported file type, an infomax value of 300 is adequate.