| United States-English |
|
|
|
![]() |
ALLBASE/SQL Advanced Application Programming Guide: HP 9000 Computer Systems > Chapter 1 Using the PreprocessorStatic Conversion Mode |
|
The -D preprocessor command line option provides a means of converting static SQL statements to dynamic statements with little or no change to existing source code. This is termed static conversion processing and provides the flexibility of running an application with either static processing or dynamic processing. In addition, an already dynamic application can be preprocessed without having to specify a DBEnvironment name in the command line. This functionality is available for C and Pascal applications. The following sections describe how to implement this feature. Note that additional information and examples regarding static and dynamic processing are found in the language specific ALLBASE/SQL application programming guides and in later sections in this chapter. Use one of the following statements to both check SQL syntax and create output files that can be processed by the compiler. All static SQL statements are converted to dynamic statements. Dynamic SQL statements remain dynamic. No module is created, and no DBEnvironment is connected to during preprocessing. psqlc -D [-i SourceFileName ] [-p ModifiedSourceFileName.c ] [-f FlaggerName ] [-a ] |...|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||