CreateProgram
CreateProgram
yaml
type: "io.kestra.plugin.cobol.CreateProgram"Examples
yaml
id: create_cobol
namespace: company.team
tasks:
- id: download_source
type: io.kestra.plugin.core.http.Download
uri: https://repo.mybank.com/cobol/CALCINT.cbl
- id: compile
type: io.kestra.plugin.cobol.CreateProgram
host: "{{ secret('IBM_HOST') }}"
user: "{{ secret('IBM_USER') }}"
password: "{{ secret('IBM_PASSWORD') }}"
library: FINLIB
program: CALCINT
sourceUri: "{{ outputs.download_source.uri }}"
yaml
id: create_cobol_inline
namespace: company.team
tasks:
- id: compile
type: io.kestra.plugin.cobol.CreateProgram
host: "{{ secret('IBM_HOST') }}"
user: "{{ secret('IBM_USER') }}"
password: "{{ secret('IBM_PASSWORD') }}"
library: DEVLIB
program: HELLO
sourceInline: |
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
PROCEDURE DIVISION.
DISPLAY 'HELLO FROM KESTRA'.
STOP RUN.
Properties
host *Requiredstring
library *Requiredstring
password *Requiredstring
program *Requiredstring
user *Requiredstring
compileOptions string
sourceInline string
sourceUri string
Outputs
compileMessages array
Definitions
io.kestra.plugin.cobol.MessageOutput
idstring
severityinteger
textstring