An administrator performing a sqlize, sqllink, sqllunlink, or sqlrefresh operation must have either DBA or RESOURCE SQL privilege for the associated <instance user> in order for the operation to succeed or a c-treeRTG error 456 (group access denied) is returned. While strongly discouraged, backward compatibility is provided with this configuration option: COMPATIBILITY SQLIMPORT_ADMIN_PASSWORD.
Support has been added to the FairCom RTG ctutil utility to open files affected by error 407 so it can export data from a file that has a damaged resource chain. This support requires ADMIN permission and the OPENCRPT file mode. To use this functionality, ctutil must be renamed to ctunload407. The ctunload407 utility functions similar to ctutil ‑unload except that it automatically connects as ADMIN (with the default ADMIN password) and enables the <allowcorrupt> setting.
Error 408 / 438 during -sqlink indicates that no record definition is available. Either the file does not have an XDD resource (-sqlinfo was not performed) or the server did not load the data conversion callback library. Possible causes are:
Or
An internal error CTE_INCOMPATIBLE (37) is returned when the client or server is outdated. An entry is sent to <log> with a logical error 37 and one of the following:
When ctree.conf contains only one <instance> element, it is not mandatory to specify a <file> rule because it is implicit that FairCom RTG needs to use the one available instance to open files.
If you specify more than one instance, you need to specify a <file> rule so that FairCom RTG knows which instance to use to open files. When specifying more than one instance, specify a default file rule into the instance you want to use:
<config>
<log>n</log>
<instance server="FAIRCOMS"></instance>
<redirinstance>
<file name="*">
</file>
</redirinstance>
</config>
Please notice that to specify a default file rule you can omit the name/dir attributes so the above configuration can also be specified as follows:
<config>
<log>n</log>
<instance server="FAIRCOMS"></instance>
<redirinstance><file/></redirinstance>
</config>
The above concept applies to all <*instance> elements: <instance>, <redirinstance>, etc.
The tutorial will fail if you have the following setting in iscobol.properties:
iscobol.io_creates=1
If you run the tutorial with iscobol.io_creates=1 enabled, comment out that setting and delete the custmast.dat and custmast.idx files.
See Also
You may see the following log output in certain situations involving a READ NEXT at the end of the file:
00000000> 20161013T152820 api:3127:ctl_nextpr ERROR 9:0:0 undefined record position #28:CUSTMASTER.dat
The sequence of operations that leads to this error is as follows: When a COBOL runtime is positioned on the last record and performs a READ NEXT a usual "end-of-file" error is returned. This error is not logged by default (but consider <log><error><atend>). However, if your runtime performs another READ NEXT then this "undefined-record-position" error is returned as we have no valid context to determine the next read position.