The instructions in this chapter assume that the application calling CODE-1 Plus is written in COBOL. If your application is not written in COBOL, please refer to the programmer documentation for that language for instructions on calling programs outside your application. The documentation provided with the COBOL compiler on your system should also be consulted for details about calling COBOL programs from programs written in other languages.
The UNIX, Linux, or Windows versions of these routines use the ACUCOBOL-GT environment. The variables are also defined in bin/setup.
Sample COBOL Batch Program
The sample COBOL batch program, SMPLDRVR2, demonstrates the techniques used to call the following modules.
Module |
Description |
---|---|
C1MATCHx |
Callable matching module |
EXTADDR2 |
Address line extraction module |
C1PRPT |
Callable print program |
You can find the source code for SMPLDRVR2 with the sample files distributed with CODE-1 Plus.