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

Question ID : 194
Created on 2013-02-05 at 5:52 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=194



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".



Back to Original Question