IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > IBM i > Overview of WebSphere Adapter for IBM i > Technical overview > Outbound processing > Supported object types
Call IBM i programs
Call IBM i programs are stand alone programs that can take some parameters through program and run commands within the program and return results, if any.
Call IBM i programs or Program call is used to call any program (PGM) or service program (SRVPGM). Currently, the supported programs are RPG, COBOL, and SRVPGM. In some scenarios, the PGM can call other PGM or database script or application that are in different library on the same IBM i machine. This program call can be achieved in three easy steps as described below.
- Compile your program source (RPG or COBOL) or service program (SRVPGM) with the appropriate command and generate the PCML document.
- Use the WebSphere Adapter for IBM i enterprise service discovery (ESD) wizard to discover the program through a generated PCML. The enterprise metadata discovery (EMD) auto generates all required artifacts.
- Use the generated artifacts to run the underlying program or service program.
- Report program generator (RPG) program
RPG programs accept and return records in a fixed format.- COBOL program
COBOL programs accept and return records in a fixed format.- Service program (SRVPGM)
A service program (SRVPGM) is an Integrated Language Environment (ILE) object that provides a means of packaging externally supported callable routines (functions or procedures) into a separate object.- Pre IBM i and post IBM i commands
Pre IBM i and post IBM i commands or library list is a system object that serves as a directory to other objects. IBM i adapter uses the PCML standard to help customers directly call program (RPG or COBOL) or service program (SRVPGM) on the target IBM i machine without any special coding.