Product Documentation

FairCom RTG COBOL User Guide

Previous Topic

Next Topic

Compile cobol_Tutorial1 with ACUCOBOL

To compile the cobol_Tutorial1.cbl program, perform the following steps.

1. Copy the cobol_Tutorial1.cbl source into the directory that contains the ACUCOBOL-GT binaries, for example:

copy \FairCom\Vx.x.x.RTG\win32\Driver\ctree.cobol\tutorials\Tutorial1\cobol_Tutorial1.cbl C:\AcuGT\bin

2. Start the COBOL compiler as follows. The -f4 option instructs the ACUCOBOL COBOL compiler to generate an XFD file which defines the data used by the cobol_Tutorial1. This XFD file will be used later in this tutorial to demonstrate the SQL capabilities of the FairCom RTG solution.

cd C:\AcuGT\bin

ccbl32.exe -f4 cobol_Tutorial1.cbl

This section is specific to ACUCOBOL. If you are using a different COBOL compiler, you will need to change the commands accordingly.

TOCIndex