Product Documentation

FairCom RTG V3 Update Guide

Previous Topic

Next Topic

ctfileid - Assign a New Unique ID to a Data or Index File

The ctutil -fileid command resets the unique file ID of a file that has been copied at the system level. The syntax is:

ctutil -fileid file

This support accompanies LOG_FILE_ID_CHANGE for reassigning file IDs discussed here: Improved performance reassigning transaction-controlled file's ID . This command applies the FairCom DB PUTHDR() mode ctUNIQIDhdr to assign a unique file ID to the specified file.

For c-treeRTG, if run against a server that does not support the ctUNIQIDhdr mode, ctutil fails with error message "Client/server incompatibility" and the following error message is logged: "ERROR 37:-4:0 server does not support fileid reset".

See Also:

TOCIndex