When the cttrnmod utility is used to change the replication attribute of a c-tree data file and the file cannot be opened at the ISAM level, cttrnmod reports error 775 rather than a file open error, which obscures the real problem.
The utility has been modified to error out when changing the replication attribute of a data file if the data file cannot be opened at ISAM level. The utility now also reports the file number and system error code when the file cannot be opened. Example:
C:>cttrnmod set repl=off -f files.txt
c-treeACE(tm) Version 11.4.0.27619(Build-170403) Change Transaction Mode Utility
Copyright (C) 1992 - 2017 FairCom Corporation
ALL RIGHTS RESERVED.
Disabling replication for files listed in file files.txt...
Replicate Tranmode Filemode Filename
--------- -------- -------- --------
Error: Failed to open file sx3990.dtc: error 12 on file 1 (syserr 2)
0 Data Files Updated
1 Error