Coding SQL statements in ILE RPG applications
You need to be aware of the unique application and coding requirements for embedding SQL statements in an ILE RPG program. In this topic, the coding requirements for host variables are defined.
Not all features implemented by the ILE RPG compiler
are supported by the SQL precompiler.
- If a control specification is not present in the program source, the RPG compiler searches for a data area containing control specification keywords. This feature is not supported by the SQL precompiler.
Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
For more information about programming using ILE RPG, see the ILE RPG Programmer's Guide topic and the ILE RPG Language Reference topic.