Building your procedural application on IBM i
The IBM i publications describe how to build executable applications from the programs that you write, to run with IBM i on iSeries or System i systems.
This topic describes the additional tasks, and the changes to the standard tasks, that we must perform when building IBM MQ for IBM i procedural applications to run on IBM i systems. COBOL, C, C++, Java and RPG programming languages are supported. For information about preparing your C++ programs, see Use C++. For information about preparing your Java programs, see Use IBM MQ classes for Java.
The tasks that we must perform to create an executable IBM MQ for IBM i application depend on the programming language that the source code is written in. In addition to coding the MQI calls in your source code, we must add the appropriate language statements to include the IBM MQ for IBM i data definition files for the language that we are using. Make yourself familiar with the contents of these files. See IBM MQ data definition files for a full description.
- Preparing C programs in IBM i
IBM MQ for IBM i supports messages up to 100 MB in size. Application programs written in ILE C, supporting IBM MQ messages greater than 16 MB, need to use the Teraspace compiler option to allocate sufficient memory for these messages. - Preparing COBOL programs in IBM i
Learn about preparing COBOL programs in IBM i and the method of accessing the MQI from within the COBOL program. - Preparing CICS programs in IBM i
Learn about the steps required when preparing CICS programs in IBM i. - Preparing RPG programs in IBM i
If we are using IBM MQ for IBM i, we can write the applications in RPG. - SQL programming considerations for IBM i
Learn about the steps required when building an application on IBM i using SQL.
Parent topic: Building a procedural application