
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 *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 submit (e.g., BATCHLIB).
password *Requiredstring
IBM i password
The password for the IBM i user profile.
program *Requiredstring
Program name
The name of the program to submit (e.g., EODPROC).
user *Requiredstring
IBM i user profile
The user profile to authenticate with on the IBM i system.
jobName 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().
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
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