Scalable Database Server, HiRDB Version 8 UAP Development Guide
Because a UAP source file in which SQL statements are embedded cannot be executed directly, an SQL preprocessor must be executed. Executing the SQL preprocessor converts the embedded SQL statements into a high-level language description. This process of converting a UAP source to a post source that can be converted by a language compiler by executing the SQL preprocessor is called preprocessing.
The SQL preprocessor creates a high-level language function corresponding to the SQL statements and embeds it in the source. During this process, the SQL preprocessor checks the validity of the data types and values of the variables, as well as the syntax of various names. If the checking results indicate that an error was detected in the input source program, a message to that effect is output to the standard error output.
The SQL preprocessor does not check the following items:
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.