ctutil provides functionality to perform maintenance tasks on indexed files. (Users of Vision COBOL will recognize it as the FairCom RTG counterpart of the Vision vutil utility.) It can be useful for importing data.
ctutil allows you to examine files, extract data records, change the maximum record size, and rebuild corrupted indexes. The functions are designed to allow you to specify all possible task parameters up front, such that the utility can run unattended or with a minimum of user interaction.
Beyond the functionality mentioned above, ctutil is important in many aspects of FairCom RTG operation, including preparing data for SQL access and importing BTRV data. See ctutil Commands for a listing of ctutil commands organized by type.
Usage
ctutil [-c config_file] [-s] command ...
Return Code
The ctutil command returns 0 if the operation was successful or a positive number if it failed.