type: mvs
This step runs z/OS programs in a Java thread with DBB MVSExec
.
Before you define this step, make sure that the common elements of the steps are defined. See steps.
Syntax
- step: string # step name
comment: string # message printed to stdout when step begins executing
condition: boolean # Boolean expression to optionally execute step
maxRC: integer # maximum return code allowed for step
type: mvs # MVSExec step type
pgm: string # the mvs program to execute
parm: string # the mvs program parameters
ddnameSubstitution: string # use to supply a ddname substitution list for IBM compilers.
free: boolean # free program allocated temporary datasets.
dds: [ dd ] # list of DD statements
Syntax description
pgm
The MVS program to execute.
parm
A string of MVS program parameters.
ddnameSubstitution
Optionally provide a substitution list for IBM compilers and linkers.
free
A boolean parameter specifying whether or not to free program allocated temporary datasets. For more information, refer to the Free temporary DDs section in the MVSExec reference.
dds
Represents a list of DD statements. For DD element syntax, refer to the DD statement syntax section in the dds:
field reference.
Example
- step: LinkEdit
type: mvs
condition: "${CobolCompile} <= 4"
pgm: IEWBLINK
parm: ${linkPatm}
dds:
- { name: "SYSLIN", dsn: "${HLQ}.LINK(${MEMBER})", options: "shr", input: true }
- { name: "SYSLMOD", dsn: "${HLQ}.LOAD(${MEMBER})", options: "shr", output: true }
- { name: "SYSUT1", options: "space(5,5) blksize(80) lrecl(80) new" }
- { name: "SYSPRINT", log: "${LOGS}/${STEP}-${FILE_NAME}.log", options: "unit(vio) new" }
- { name: "SYSLIB", dsn: "${HLQ}.OBJ", options: "shr" }