IBM Version 4 Universal Remote User Manual


 
Figure 2-3 on page 2-4 shows the languages available on the AS/400 system and
the parameter support that they provide. For more information, see the reference
manual for the specific programming language that you plan to use.
Figure 2-3. Language Selection Considerations — Call Conventions
Language
1
Function
Return
Values
2
Pass by
Reference
Pass
by
Value
BASIC X
ILE C X X X
VisualAge C++ for OS/400 X X X
CL X
ILE CL X
COBOL X
3
ILE COBOL X X X
MI X X
Pascal X
PL/I X
REXX X
RPG X
ILE RPG X X X
Notes:
1
You cannot develop Cross System Product (CSP) programs on an AS/400 system. However,
you can develop CSP programs on a System/370 and run them on your AS/400 system.
2
Return values are used by the UNIX-type APIs and the Dynamic Screen Manager (DSM) APIs.
3
COBOL provides a by-content phrase, but it does not have the same semantics as ILE C pass-
by-value.
API Environments
OS/400 APIs exist in several operating environments on an AS/400 system. These
environments are:
Original program model (OPM)
Integrated Language Environment (ILE)
ILE Common Execution Environment (CEE)
UNIX-type
APIs for the Original Program Model Environment
OPM APIs, the initial APIs on AS/400, use the following naming conventions:
Start with the letter Q.
Are followed by a 2- or 3-letter internal component identifier.
Are limited to 8 characters.
Must be uppercase.
2-4 System API Programming V4R1