Running the sqlprep Precompiler

You must run the appropriate sqlprep precompiler to prepare your Embedded SQL program for compiling with a C compiler. The following table lists operating systems and their precompilers.

Operating system

Precompiler

Windows NT

NSQLPREP.EXE

Windows 95

NSQLPREP.EXE

16-bit Windows

SQLPREP.EXE

MS-DOS

SQLPREP.EXE


The sqlprep precompiler finds SQL statements, parses the SQL statements, and if applicable, creates an access plan or bind file. The precompiler creates a C program that can be compiled with an appropriate C compiler. For more information about compiling and linking, see "Compiling and Linking Embedded SQL Applications," later in this chapter.