Using the Pre-compiler

The ACUSQL pre-compiler offers three modes of SQL syntax checking.

These modes operate on the file as a whole. See Checking Syntax for information on indicating relaxed or strict checking for individual EXEC SQL commands.

When the pre-compiler starts, it examines the source file to determine whether it is in ANSI or terminal format and then processes the file accordingly. If the file is in ANSI format, the pre-compiler removes characters from columns 1-6 and 72-80, replacing them with spaces. Information contained in these columns may not appear in the ACUCOBOL-GT compilation listing file.

You can start and use the AcuSQL pre-compiler in several ways: