IBM i / AS400 COBOL

IBM i / AS400 COBOL

Certified

Tasks that run, submit and create IBM i COBOL programs and jobs

How to use the COBOL plugin

Execute COBOL programs and submit jobs on IBM i (AS/400) systems from Kestra flows using the JTOpen library.

Authentication

Set host (required), user (required), and password (required) on every task to connect to the IBM i system. Store secrets in secrets and apply connection properties globally with plugin defaults.

Tasks

CallJob calls a COBOL program synchronously and waits for the result — set library and program (both required). Pass input via parameters (default empty list). Set programTimeout to limit execution time.

SubmitJob submits a batch job to the IBM i job queue — set library and program (both required). Pass input via parameters. Optionally set jobName, jobQueue, and userProfile to control job routing.

CreateProgram compiles a COBOL source member into an executable program — set library and program (both required). Provide source via sourceInline (inline COBOL text) or sourceUri (a kestra:// URI). Optionally pass compileOptions to control the compilation.