Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

ctfixdupscan - Detect and Fix Files that Suffer from File Definition Errors

New functionality has been added to the ctutil command line utility to detect and fix files that suffer from file definition errors that can cause the dupscan workaround to not function properly. To trigger this new functionality, rename a copy of the ctutil executable to ctfixdupscan. Executing this renamed copy of ctutil will cause it to function as an ad-hoc utility to detect and fix file definition errors. The syntax of the command-line tool is as follows:

ctfixdupscan file [-fix]

where:

  • file - File name without extension
  • -fix - Fix error by copying the file in place

By default, the program checks if the specified file suffers from file definition errors. If the optional -fix parameter is specified after the file name, the file is fixed by copying it in place record-by-record.

TOCIndex