Guardian Procedure Calls Reference Manual
volname can be either:
$volname
or
\sysnumvolname
If omitted, all FCBs for all volumes are written to their respective disks.
Returned Value
INT
A file-system error code that indicates the outcome of the call. (For a list of all file-system errors,
see the Guardian Procedure Errors and Messages Manual.)
Considerations
• When REFRESH is called without a volname, the error return is always 0.
• Because calling the REFRESH procedure can severely impact response time on the specified
disk volume, these actions might be considered as alternatives:
◦ When creating a file using FILE_CREATE_, FILE_CREATELIST_, or CREATE, select the
option that causes the file label to be written immediately to disk whenever the EOF value
changes.
◦ Use SETMODE function 95 to cause the dirty cache buffers of a specified file to be written
to disk.
Example
ERROR := REFRESH; ! refresh FCBs for all volumes.
REFRESH Procedure (Superseded by DISK_REFRESH_ Procedure) 1235