You can use APIs with all the languages available on iSeries™ business computing systems, except for the ILE APIs.
ILE APIs that are implemented as service programs (*SRVPGM) can be accessed only by ILE languages. In some cases, a program (*PGM) interface is provided so that non-ILE languages can access the function.
Some APIs also require that particular data types and particular parameter passing conventions be used. The following table shows the languages available on the iSeries system and the data types that they provide.
Language 1 | Pointers | Binary 2 | Binary 4 | Character | Zoned Decimal | Packed Decimal | Floating Point | Structures | Single Array | Exception Handling |
---|---|---|---|---|---|---|---|---|---|---|
BASIC (PRPQ 5799-FPK) | X | X | X | X 2 | X 2 | X | X | X | ||
ILE C | X | X | X | X | X 8 | X | X | X | X | |
VisualAge® C++ for i5/OS™ | X | X | X | X | X 9 | X | X | X | X | |
CL | X | X | X | X | X 3 | X 3 | X | |||
ILE CL | X 4 | X | X | X | X | X 3 | X 3 | X | ||
COBOL | X | X | X | X | X | X | X | X | X 5 | |
ILE COBOL | X | X | X | X | X | X | X | X | X | X 5 |
MI | X | X | X | X | X | X | X | X | X | X |
Pascal (PRPQ 5799-FRJ) | X | X | X | X | X 6 | X 6 | X | X | X | X |
PL/I (PRPQ 5799-FPJ) | X | X | X | X | X | X | X | X | X | X |
REXX | X | X 3 | X 3 | X | ||||||
RPG | X | X | X | X | X | X | X | X 7 | ||
ILE RPG | X | X | X | X | X | X | X | X | X | X 7 |
Notes:
|
The following table shows the languages available on the iSeries system and the parameter support that they provide. For more information, see the reference information for the specific programming language that you plan to use.
Language 1 | Function Return Values 2 | Pass by Reference | Pass by Value |
---|---|---|---|
BASIC | X | ||
ILE C | X | X | X |
VisualAge C++ for i5/OS | X | X | X |
CL | X | ||
ILE CL | X3 | X | X3 |
COBOL | X | 4 | |
ILE COBOL | X | X | X |
MI | X | X | |
Pascal | X | ||
PL/I | X | ||
REXX | X | ||
RPG | X | ||
ILE RPG | X | X | X |
Notes:
|