

CA Datacom/DB SQL Preprocessors › Input to the Preprocessor › INCLUDEs in C
INCLUDEs in C
INCLUDEs in the C language are basically the same as in PL/I except note the following:
- The SQLCA is always automatically generated, so no INCLUDE should be used for it. However, you must code your own SQLDA and SQLVAR when using dynamic SQL.
- The EXEC SQL INCLUDE <member name>; SQL statement can be used to include members from the PDS data set INCLUDE in z/OS (for z/VSE, the name in the EXEC SQL INCLUDE is the name of a member in a z/VSE library). INCLUDEs in C cannot be nested.
- Because the Precompiler executes before the C Preprocessor, statements such as #include, #define, and typedef are not expanded. Unless the user executes the language preprocessor only before the CA Datacom/SQL C Preprocessor, host variables in #include files cannot be referenced, and #define and typedefs cannot be used to declare a host variable data type.
Copyright © 2014 CA.
All rights reserved.
 
|
|