You can use the SRCSTMF keyword to specify an Integrated File System file at compile time. The #include processing differs from source physical file processing in that the library list is not searched. The search path specified by the INCLUDE environment variable (if it is defined), and the compiler's default search path are used to resolve header files.
The compiler's default include path is /QIBM/include.
#include files use the delimiters "" or <>.
When attempting to open the include file, the compiler searches in turn each directory in the search path until the file is found or all search directories have been exhausted.
The algorithm to search for include files is:
|
For more information, refer to Using the ILE C/C++ Stream Functions With the iSeries Integrated File System in WebSphere Development Studio: ILE C/C++ Programmer's Guide.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.