
IBM i / AS400 COBOL CallJob
CertifiedCall an IBM i COBOL program synchronously
IBM i / AS400 COBOL CallJob
Call an IBM i COBOL program synchronously
Executes an existing program on an IBM i (AS/400) system using JTOpen ProgramCall and waits for completion.
type: io.kestra.plugin.cobol.CallJobExamples
Call a COBOL program
id: call_cobol
namespace: company.team
tasks:
- id: call
type: io.kestra.plugin.cobol.CallJob
host: "{{ secret('IBM_HOST') }}"
user: "{{ secret('IBM_USER') }}"
password: "{{ secret('IBM_PASSWORD') }}"
library: FINLIB
program: CALCINT
parameters:
- "2026-01-31"
Properties
host *Requiredstring
IBM i hostname
The hostname or IP address of the IBM i (AS/400) system.
library *Requiredstring
IBM i library
The library containing the program to call (e.g., FINLIB).
password *Requiredstring
IBM i password
The password for the IBM i user profile.
program *Requiredstring
Program name
The name of the program to call (e.g., CALCINT).
user *Requiredstring
IBM i user profile
The user profile to authenticate with on the IBM i system.
parameters array
[]Program parameters
List of string parameters to pass to the program. Each string is converted to EBCDIC using the system CCSID.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
programTimeout integerstring
Program call timeout in seconds
Maximum time in seconds to wait for the program to complete. If not set, no timeout is applied.
Outputs
duration string
durationWall-clock duration of the program call
jobName string
Name of the server job that ran the program
jobNumber string
Number of the server job
jobUser string
User profile of the server job
messages array
Messages returned by the IBM i system
io.kestra.plugin.cobol.MessageOutput
IBM i message ID (e.g., CPF9801)
Message severity level
Message text