Why do I get the error message "faircom.rtg.CtreeEnv.ct_config2(IJJ[Ljava/lang/String;)J" when using c-treeRTG?


This error indicates that the ctreej file handler is being used to connect to a c-treeRTG version 10 or earlier which requires the "ctree2" file handler instead.
You can reproduce it using the simple command:

   iscrun -J-Discobol.file.index=ctreej com.iscobol.rts.Version
and get the same error. It works properly when the "ctree2" file handler is used instead:
   iscrun -J-Discobol.file.index=ctree2 com.iscobol.rts.Version
Here's a list of the correct value of iscobol.file.index for each c-tree version. You can read more about this in Veryant's documentation, c-treeRTG for COBOL book, section "Accessing from isCOBOL".



Article ID: 194
Created: February 5, 2013
Last Updated: August 4, 2022
Author: Support KB Author

Online URL: https://support.veryant.com/phpkb/article.php?id=194