
IBM i / AS400 COBOL SubmitJob
CertifiedSubmit an IBM i COBOL job asynchronously
IBM i / AS400 COBOL SubmitJob
Submit an IBM i COBOL job asynchronously
Submits a job to an IBM i (AS/400) system using JTOpen CommandCall with SBMJOB. The job is submitted and control returns immediately without waiting for completion.
type: io.kestra.plugin.cobol.SubmitJobExamples
Submit a COBOL batch job
id: submit_cobol
namespace: company.team
tasks:
- id: submit
type: io.kestra.plugin.cobol.SubmitJob
host: "{{ secret('IBM_HOST') }}"
user: "{{ secret('IBM_USER') }}"
password: "{{ secret('IBM_PASSWORD') }}"
library: BATCHLIB
program: EODPROC
jobQueue: QBATCH
Properties
host *string
IBM i hostname
The hostname or IP address of the IBM i (AS/400) system.
library *string
IBM i library
The library containing the program to submit (e.g., BATCHLIB).
password *string
IBM i password
The password for the IBM i user profile.
program *string
Program name
The name of the program to submit (e.g., EODPROC).
user *string
IBM i user profile
The user profile to authenticate with on the IBM i system.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150jobName string
Job name
Optional name for the submitted job. If not specified, the system assigns one.
jobQueue string
Job queue
The job queue to submit the job to (e.g., QBATCH). If not specified, the default job queue is used.
parameters array
[]Program parameters
List of string parameters to pass to the program via PARM().
userProfile string
User profile
The user profile under which the job runs. Defaults to the connection user.
Outputs
jobName string
Name of the submitted job
jobNumber string
Number of the submitted job
jobUser string
User profile of the submitted 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