CallCobolProgram

The sample process uses the CallProgram activity to send and receive data using an input or output schema declared for an IBM i program.

Configuring the CallCobolProgram Process
  1. Add the Timer, CallProgram, and Log activities.
  2. Provide the IBMi Connection, Program Object, Source File, and Source Member names.
  3. On the Advanced tab, click Initialize Schema to import the parameters for the IBM i program object.

  4. On the Input tab, populate the parameters that require prepopulated values as per the IBM i program logic. The COBOLILE sample program receives LK-EMPID as input and returns the LK-EMPNAME from the database file EMP_TBL.

Expected Results

After running or debugging the CallCobolProgram process, the IBM i program receives the input, processes the information and sends the output. In this sample, the value received for LK-EMPNAME is Alexander.