HPlogo ALLBASE/SQL COBOL Application Programming Guide: HP 3000 MPE/iX Computer Systems > Chapter 2 Using the ALLBASE/SQL COBOL Preprocessor

Preprocessor Modes

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

You can use the preprocessor in two modes:

  1. To check your SQL syntax.

  2. To perform full preprocessing which includes SQL syntax checking, creating compilable output, storing a module in a DBEnvironment, and creating a file that contains an installable copy of the stored module.

As you develop the SQL portions of your COBOL programs, syntax checking mode is quite useful. Preprocessing is quicker in this mode than in full preprocessing mode. In addition, you can start debugging your SQL commands before the DBEnvironment itself is in place.

Running the preprocessor in each of these modes is described later in the chapter under "Invoking the COBOL Preprocessor."

Feedback to webmaster