@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
47 lines (46 loc) • 1.16 kB
TypeScript
import { ITaskWithStatus } from "@zowe/imperative";
/**
* Interface for submit job API
* @export
* @interface ISubmitParms
*/
export interface ISubmitParms {
/**
* USS file which should contain syntactically correct JCL
* Example value: IBMUSER.PUBLIC.CNTL(IEFBR14)
* where IEFBR14 contains statements like:
* //IEFBR14 JOB ()
* //RUN EXEC PGM=IEFBR14
*/
jclSource: string;
/**
* Returns spool content if this option used
*/
viewAllSpoolContent?: boolean;
/**
* Wait for the job to reach output status
*/
waitForActive?: boolean;
/**
* Wait for the job to reach output status
*/
waitForOutput?: boolean;
/**
* Local directory path to download output of the job
*/
directory?: string;
/**
* A file extension to save the job output with
*/
extension?: string;
/**
* The volume on which the data set is stored
*/
volume?: string;
/**
* Task status object used by CLI handlers to create progress bars
* for certain job submit requests
* Optional
*/
task?: ITaskWithStatus;
}