-
Notifications
You must be signed in to change notification settings - Fork 85
/
IJob.ts
129 lines (112 loc) · 2.4 KB
/
IJob.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
* 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 { IJobStepData } from "../response/IJobStepData";
/**
* Standard job response document
* Represents the attributes and status of a z/OS batch job
* @export
* @interface IJob
*/
export interface IJob {
/**
* job id for a job
* Uniquely identifies a job on a z/OS system
* @type {string}
* @memberof IJob
*/
jobid: string;
/**
* job name for a job
* @type {string}
* @memberof IJob
*/
jobname: string;
/**
* The primary or secondary JES subsystem.
* If this value is null, the job was processed by the primary subsystem.
* @type {string}
* @memberof IJob
*/
subsystem: string;
/**
* owner of the job
* @type {string}
* @memberof IJob
*/
owner: string;
/**
* status of the job
* @type {string}
* @memberof IJob
*/
status: string;
/**
* type of job
* @type {string}
* @memberof IJob
*/
type: string;
/**
* job class
* @type {string}
* @memberof IJob
*/
class: string;
/**
* return code of the job
* @type {string}
* @memberof IJob
*/
retcode: string;
/**
* detailed job step data
* @type {IJobStepData[]}
* @memberof IJob
*/
"step-data"?: IJobStepData[];
/**
* url for direct reference of job info
* @type {string}
* @memberof IJob
*/
url: string;
/**
* spool files url for direct reference
* @type {string}
* @memberof IJob
*/
"files-url": string;
/**
* unique identifier of job (substitute of job name and job id)
* If this value is null, the job was submitted to JES3.
* @type {string}
* @memberof IJob
*/
"job-correlator": string;
/**
* job phase
* @type {number}
* @memberof IJob
*/
phase: number;
/**
* job phase name
* @type {string}
* @memberof IJob
*/
"phase-name": string;
/**
* explaination of error
* @type {string}
* @memberof IJob
*/
"reason-not-running"?: string;
}