-
Notifications
You must be signed in to change notification settings - Fork 85
/
ISubmitJclNotifyParms.ts
78 lines (69 loc) · 2.01 KB
/
ISubmitJclNotifyParms.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
import { JOB_STATUS } from "../../types/JobStatus";
/**
* 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;
/**
* A string for JCL symbolic substitution
* @type {string}
* @memberof ISubmitJobParms
*/
jclSymbols?: string;
}