5.3 Switch COBOL Compiler

To switch to COBOL-IT after installation, you must re-create the ejr symbol link to the appropriate directory if you did not select "COBOL-IT" as the default compiler during installation.

When using COBOL-IT and DB2 as an example, run the following commands for
cd <ART 22c installation>/Batch_RT
  # if ejr exists under Batch_RT
  rm ejr
  ln -s ejr_cit_db2 ejr
When using COBOL-IT for Cics_RT, run the following commands:
rm Cics_RT
ln -s Cics_RT_CIT Cics_RT

For example, if your COBOL-IT is installed at /opt/cobol-it-64, and Oracle Tuxedo Application Runtime for CICS and Batch is installed at /home/oracle/oraHome/art22.1.0.0.0, the command you need to run is:

ln -s /opt/cobol-it-64/bin/cobcrun
/home/oracle/oraHome/art22.1.0.0.0/Batch_RT/bin/cobrun

Note:

After installing Oracle Tuxedo Application Runtime for IMS only, you can switch its COBOL compiler between Micro Focus COBOL and COBOL-IT by using chgcobol.sh.