/
ICreateDataSetOptions.ts
128 lines (110 loc) · 2.29 KB
/
ICreateDataSetOptions.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
/*
* 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 { IZosFilesOptions } from "../../../doc/IZosFilesOptions";
/**
* Interface for create dataset API
* zOSMF REST API information:
* https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.izua700/IZUHPINFO_API_CreateDataSet.htm#CreateDataSet
* @export
*/
export interface ICreateDataSetOptions extends IZosFilesOptions {
/**
* The volume serial
* @type {string}
*/
volser?: string;
/**
* The device type
* @type {string}
*/
unit?: string;
/**
* The data set organization
* @type {string}
*/
dsorg?: string;
/**
* The unit of space allocation
* @type {string}
*/
alcunit?: string;
/**
* The primary space allocation
* @type {number}
*/
primary: number;
/**
* The secondary space allocation
* @type {number}
*/
secondary?: number;
/**
* The number of directory blocks
* @type {number}
*/
dirblk?: number;
/**
* The average block
* @type {number}
*/
avgblk?: number;
/**
* The record format
* @type {string}
*/
recfm?: string;
/**
* The block size
* @type {number}
*/
blksize?: number;
/**
* The record length
* @type {number}
*/
lrecl: number;
/**
* The storage class
* @type {string}
*/
storclass?: string;
/**
* The management class
* @type {string}
*/
mgntclass?: string;
/**
* The data class
* @type {string}
*/
dataclass?: string;
/**
* The data set type
* @type {string}
*/
dsntype?: string;
/**
* The indicator that we need to show the attributes
*
* DO NOT SEND THIS TO ZOSMF
*
* @type {boolean}
*/
showAttributes?: boolean;
/**
* The abstraction of Allocation unit and Primary Space
*
* DO NOT SEND THIS TO ZOSMF
*
* @type {string}
*/
size?: string;
}