IBM i / AS400 COBOL SubmitJob

IBM i / AS400 COBOL SubmitJob

Certified

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.

yaml
type: io.kestra.plugin.cobol.SubmitJob

Submit a COBOL batch job

yaml
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

IBM i hostname

The hostname or IP address of the IBM i (AS/400) system.

IBM i library

The library containing the program to submit (e.g., BATCHLIB).

IBM i password

The password for the IBM i user profile.

Program name

The name of the program to submit (e.g., EODPROC).

IBM i user profile

The user profile to authenticate with on the IBM i system.

Job name

Optional name for the submitted job. If not specified, the system assigns one.

Job queue

The job queue to submit the job to (e.g., QBATCH). If not specified, the default job queue is used.

SubTypestring
Default[]

Program parameters

List of string parameters to pass to the program via PARM().

Reference (ref) of the pluginDefaults to apply to this task.

User profile

The user profile under which the job runs. Defaults to the connection user.

Name of the submitted job

Number of the submitted job

User profile of the submitted job

Messages returned by the IBM i system

Definitions
idstring

IBM i message ID (e.g., CPF9801)

severityinteger

Message severity level

textstring

Message text