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.

  1. Compile your program source (RPG or COBOL) or service program (SRVPGM) with the appropriate command and generate the PCML document.

  2. 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.

  3. Use the generated artifacts to run the underlying program or service program.

Supported object types