Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-57
RENAME Procedure
(Superseded by FILE_RENAME_ Procedure )
If the primary-key file is renamed, it is linked with the alternate-key file. If you
rename the alternate-key file and then try to access the primary-key file, file-
system error 4 occurs, because the primary-key file is still linked with the old name
for the alternate-key file. You can use the FUP ALTER command to correct this
problem.
Safeguard Considerations
For information on files protected by Safeguard, refer to the Safeguard Reference
Manual.
OSS Considerations
•
An OSS file cannot be renamed. Error 564 (operation not supported on this file
type) occurs when an attempt is made to rename an OSS file.