@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
54 lines (53 loc) • 1.59 kB
TypeScript
import { JOB_STATUS } from "../../../../../zosjobs";
/**
* Interface for submiting jobs API
* @export
* @interface ISubmitJclNotifyParm
*/
export interface ISubmitJclNotifyParm {
/**
* JCL to submit, for example:
* "//IEFBR14 JOB ()\n" +
* "//RUN EXEC PGM=IEFBR14"
* @type {string}
* @memberof ISubmitJclNotifyParm
*/
jcl: string;
/**
* Specify internal reader RECFM and corresponding http(s) headers
* will be appended to the request accordingly
* "F" (fixed) or "V" (variable)
* @type {string}
* @memberof ISubmitJclNotifyParm
*/
internalReaderRecfm?: string;
/**
* Specify internal reader LRECL and corresponding http(s) headers
* will be appended to the request accordingly
* @type {string}
* @memberof ISubmitJclNotifyParm
*/
internalReaderLrecl?: string;
/**
* Watch delay (polling delay) that the underlying services will use
* to report whenever a job is complete in milliseconds.
* Default: MonitorJobs.DEFAULT_WATCHER_DELAY
* @type {number}
* @memberof ISubmitJclNotifyParm
*/
watchDelay?: number;
/**
* Status for which you'd like to be notified of a completed job.
* Default: MonitorJobs.DEFAULT_STATUS.
* @type {JOB_STATUS}
* @memberof ISubmitJclNotifyParm
*/
status?: JOB_STATUS;
/**
* Number of attempts for which will poll before ending.
* Default: MonitorJobs.DEFAULT_ATTEMPTS.
* @type {number}
* @memberof ISubmitJclNotifyParm
*/
attempts?: number;
}