Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-66
RESETSYNC Procedure
Condition Code Settings
< (CCL) indicates that an error occurred (call FILE_GETINFO_ or FILEINFO).
= (CCE) indicates that RESETSYNC is successful.
> (CCG) indicates that the file is not a disk file.
Considerations
•
File number has not been opened
If the RESETSYNC file number does not match the file number of the open file that
you are trying to access, the call to RESETSYNC is rejected with file-system error
16.
•
Not receiving messages
If
filenum designates a process, and if the $RECEIVE file of that process is not
opened with receipt of RESETSYNC messages enabled, then the RESETSYNC
procedure fails with file-system error 7.
Example
CALL RESETSYNC( FILE^NUMBER );