@zowe/zos-tso-for-zowe-sdk 7.0.2 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants/ZosTso.constants.d.ts +13 -0
- package/lib/constants/ZosTso.constants.js +83 -0
- package/lib/constants/ZosTso.constants.js.map +1 -0
- package/lib/constants/ZosTso.profile.d.ts +7 -0
- package/lib/constants/ZosTso.profile.js +84 -0
- package/lib/constants/ZosTso.profile.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICommandOptionDefinition } from "@zowe/imperative";
|
|
2
|
+
export declare class TsoProfileConstants {
|
|
3
|
+
static readonly TSO_OPTION_GROUP: string;
|
|
4
|
+
static readonly TSO_OPTION_ACCOUNT: ICommandOptionDefinition;
|
|
5
|
+
static readonly TSO_OPTION_ACCOUNT_PROFILE: ICommandOptionDefinition;
|
|
6
|
+
static readonly TSO_OPTION_CHAR_SET: ICommandOptionDefinition;
|
|
7
|
+
static readonly TSO_OPTION_CODE_PAGE: ICommandOptionDefinition;
|
|
8
|
+
static readonly TSO_OPTION_COLUMNS: ICommandOptionDefinition;
|
|
9
|
+
static readonly TSO_OPTION_LOGON_PROCEDURE: ICommandOptionDefinition;
|
|
10
|
+
static readonly TSO_OPTION_REGION_SIZE: ICommandOptionDefinition;
|
|
11
|
+
static readonly TSO_OPTION_ROWS: ICommandOptionDefinition;
|
|
12
|
+
static readonly TSO_PROFILE_OPTIONS: ICommandOptionDefinition[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.TsoProfileConstants = void 0;
|
|
14
|
+
class TsoProfileConstants {
|
|
15
|
+
}
|
|
16
|
+
exports.TsoProfileConstants = TsoProfileConstants;
|
|
17
|
+
TsoProfileConstants.TSO_OPTION_GROUP = "TSO ADDRESS SPACE OPTIONS";
|
|
18
|
+
TsoProfileConstants.TSO_OPTION_ACCOUNT = {
|
|
19
|
+
name: "account",
|
|
20
|
+
aliases: ["a"],
|
|
21
|
+
description: "Your z/OS TSO/E accounting information.",
|
|
22
|
+
type: "string",
|
|
23
|
+
required: true,
|
|
24
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
25
|
+
};
|
|
26
|
+
TsoProfileConstants.TSO_OPTION_ACCOUNT_PROFILE = Object.assign(Object.assign({}, TsoProfileConstants.TSO_OPTION_ACCOUNT), { required: false });
|
|
27
|
+
TsoProfileConstants.TSO_OPTION_CHAR_SET = {
|
|
28
|
+
name: "character-set",
|
|
29
|
+
aliases: ["cs"],
|
|
30
|
+
description: "Character set for address space to convert messages and responses from UTF-8 to EBCDIC.",
|
|
31
|
+
type: "string",
|
|
32
|
+
defaultValue: "697",
|
|
33
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
34
|
+
};
|
|
35
|
+
TsoProfileConstants.TSO_OPTION_CODE_PAGE = {
|
|
36
|
+
name: "code-page",
|
|
37
|
+
aliases: ["cp"],
|
|
38
|
+
description: "Codepage value for TSO/E address space to convert messages and responses from UTF-8 to EBCDIC.",
|
|
39
|
+
type: "string",
|
|
40
|
+
defaultValue: "1047",
|
|
41
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
42
|
+
};
|
|
43
|
+
TsoProfileConstants.TSO_OPTION_COLUMNS = {
|
|
44
|
+
name: "columns",
|
|
45
|
+
aliases: ["cols"],
|
|
46
|
+
description: "The number of columns on a screen.",
|
|
47
|
+
type: "number",
|
|
48
|
+
defaultValue: 80,
|
|
49
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
50
|
+
};
|
|
51
|
+
TsoProfileConstants.TSO_OPTION_LOGON_PROCEDURE = {
|
|
52
|
+
name: "logon-procedure",
|
|
53
|
+
aliases: ["l"],
|
|
54
|
+
description: "The logon procedure to use when creating TSO procedures on your behalf.",
|
|
55
|
+
type: "string",
|
|
56
|
+
defaultValue: "IZUFPROC",
|
|
57
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
58
|
+
};
|
|
59
|
+
TsoProfileConstants.TSO_OPTION_REGION_SIZE = {
|
|
60
|
+
name: "region-size",
|
|
61
|
+
aliases: ["rs"],
|
|
62
|
+
description: "Region size for the TSO/E address space.",
|
|
63
|
+
type: "number",
|
|
64
|
+
defaultValue: 4096,
|
|
65
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
66
|
+
};
|
|
67
|
+
TsoProfileConstants.TSO_OPTION_ROWS = {
|
|
68
|
+
name: "rows",
|
|
69
|
+
description: "The number of rows on a screen.",
|
|
70
|
+
type: "number",
|
|
71
|
+
defaultValue: 24,
|
|
72
|
+
group: TsoProfileConstants.TSO_OPTION_GROUP
|
|
73
|
+
};
|
|
74
|
+
TsoProfileConstants.TSO_PROFILE_OPTIONS = [
|
|
75
|
+
TsoProfileConstants.TSO_OPTION_ACCOUNT,
|
|
76
|
+
TsoProfileConstants.TSO_OPTION_CHAR_SET,
|
|
77
|
+
TsoProfileConstants.TSO_OPTION_CODE_PAGE,
|
|
78
|
+
TsoProfileConstants.TSO_OPTION_COLUMNS,
|
|
79
|
+
TsoProfileConstants.TSO_OPTION_LOGON_PROCEDURE,
|
|
80
|
+
TsoProfileConstants.TSO_OPTION_REGION_SIZE,
|
|
81
|
+
TsoProfileConstants.TSO_OPTION_ROWS
|
|
82
|
+
];
|
|
83
|
+
//# sourceMappingURL=ZosTso.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZosTso.constants.js","sourceRoot":"","sources":["../../src/constants/ZosTso.constants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;AAIF,MAAa,mBAAmB;;AAAhC,kDAgFC;AA9E0B,oCAAgB,GAAW,2BAA2B,CAAC;AAEvD,sCAAkB,GAA6B;IAClE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,WAAW,EAAE,yCAAyC;IACtD,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,8CAA0B,mCAC1C,mBAAmB,CAAC,kBAAkB,KACzC,QAAQ,EAAE,KAAK,IACjB;AAEqB,uCAAmB,GAA6B;IACnE,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,WAAW,EAAE,yFAAyF;IACtG,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,wCAAoB,GAA6B;IACpE,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,WAAW,EAAE,gGAAgG;IAC7G,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,MAAM;IACpB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,sCAAkB,GAA6B;IAClE,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE,oCAAoC;IACjD,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,8CAA0B,GAA6B;IAC1E,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,WAAW,EAAE,yEAAyE;IACtF,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,UAAU;IACxB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,0CAAsB,GAA6B;IACtE,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,WAAW,EAAE,0CAA0C;IACvD,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,IAAI;IAClB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,mCAAe,GAA6B;IAC/D,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,iCAAiC;IAC9C,IAAI,EAAE,QAAQ;IACd,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,mBAAmB,CAAC,gBAAgB;CAC9C,CAAC;AAEqB,uCAAmB,GAA+B;IACrE,mBAAmB,CAAC,kBAAkB;IACtC,mBAAmB,CAAC,mBAAmB;IACvC,mBAAmB,CAAC,oBAAoB;IACxC,mBAAmB,CAAC,kBAAkB;IACtC,mBAAmB,CAAC,0BAA0B;IAC9C,mBAAmB,CAAC,sBAAsB;IAC1C,mBAAmB,CAAC,eAAe;CACtC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This program and the accompanying materials are made available under the terms of the
|
|
4
|
+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
|
|
5
|
+
* https://www.eclipse.org/legal/epl-v20.html
|
|
6
|
+
*
|
|
7
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
8
|
+
*
|
|
9
|
+
* Copyright Contributors to the Zowe Project.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.ZosTsoProfile = void 0;
|
|
14
|
+
const ZosTso_constants_1 = require("./ZosTso.constants");
|
|
15
|
+
/**
|
|
16
|
+
* Profile configuration for TSO profiles
|
|
17
|
+
* @type {ICommandProfileTypeConfiguration}
|
|
18
|
+
* @memberof ZosTsoProfile
|
|
19
|
+
*/
|
|
20
|
+
exports.ZosTsoProfile = {
|
|
21
|
+
type: "tso",
|
|
22
|
+
schema: {
|
|
23
|
+
type: "object",
|
|
24
|
+
title: "TSO Profile",
|
|
25
|
+
description: "z/OS TSO/E User Profile",
|
|
26
|
+
properties: {
|
|
27
|
+
account: {
|
|
28
|
+
type: "string",
|
|
29
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_ACCOUNT_PROFILE,
|
|
30
|
+
includeInTemplate: true
|
|
31
|
+
},
|
|
32
|
+
characterSet: {
|
|
33
|
+
type: "string",
|
|
34
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_CHAR_SET
|
|
35
|
+
},
|
|
36
|
+
codePage: {
|
|
37
|
+
type: "string",
|
|
38
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_CODE_PAGE,
|
|
39
|
+
includeInTemplate: true
|
|
40
|
+
},
|
|
41
|
+
columns: {
|
|
42
|
+
type: "number",
|
|
43
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_COLUMNS
|
|
44
|
+
},
|
|
45
|
+
logonProcedure: {
|
|
46
|
+
type: "string",
|
|
47
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_LOGON_PROCEDURE,
|
|
48
|
+
includeInTemplate: true
|
|
49
|
+
},
|
|
50
|
+
regionSize: {
|
|
51
|
+
type: "number",
|
|
52
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_REGION_SIZE
|
|
53
|
+
},
|
|
54
|
+
rows: {
|
|
55
|
+
type: "number",
|
|
56
|
+
optionDefinition: ZosTso_constants_1.TsoProfileConstants.TSO_OPTION_ROWS
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
required: []
|
|
60
|
+
},
|
|
61
|
+
createProfileExamples: [
|
|
62
|
+
{
|
|
63
|
+
description: "Create a tso profile called 'myprof' with default settings and JES accounting information of 'IZUACCT'",
|
|
64
|
+
options: "myprof -a IZUACCT"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "Create a tso profile called 'largeregion' with a region size of 8192, a logon procedure of MYPROC, and " +
|
|
68
|
+
"JES accounting information of '1234'",
|
|
69
|
+
options: "largeregion -a 1234 --rs 8192"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "Create a tso profile called 'myprof2' with default settings and region size of 8192, without storing the user " +
|
|
73
|
+
"account on disk",
|
|
74
|
+
options: "myprof2 --rs 8192"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
updateProfileExamples: [
|
|
78
|
+
{
|
|
79
|
+
description: "Update a tso profile called myprof with new JES accounting information",
|
|
80
|
+
options: "myprof -a NEWACCT"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=ZosTso.profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZosTso.profile.js","sourceRoot":"","sources":["../../src/constants/ZosTso.profile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;AAGF,yDAAyD;AAEzD;;;;GAIG;AACU,QAAA,aAAa,GAAqC;IAC3D,IAAI,EAAE,KAAK;IACX,MAAM,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,yBAAyB;QACtC,UAAU,EAAE;YACR,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,0BAA0B;gBAChE,iBAAiB,EAAE,IAAI;aAC1B;YACD,YAAY,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,mBAAmB;aAC5D;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,oBAAoB;gBAC1D,iBAAiB,EAAE,IAAI;aAC1B;YACD,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,kBAAkB;aAC3D;YACD,cAAc,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,0BAA0B;gBAChE,iBAAiB,EAAE,IAAI;aAC1B;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,sBAAsB;aAC/D;YACD,IAAI,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,gBAAgB,EAAE,sCAAmB,CAAC,eAAe;aACxD;SACJ;QACD,QAAQ,EAAE,EAAE;KACf;IACD,qBAAqB,EAAE;QACnB;YACI,WAAW,EAAE,wGAAwG;YACrH,OAAO,EAAE,mBAAmB;SAC/B;QACD;YACI,WAAW,EAAE,yGAAyG;gBAClH,sCAAsC;YAC1C,OAAO,EAAE,+BAA+B;SAC3C;QACD;YACI,WAAW,EAAE,gHAAgH;gBACzH,iBAAiB;YACrB,OAAO,EAAE,mBAAmB;SAC/B;KACJ;IACD,qBAAqB,EAAE;QACnB;YACI,WAAW,EAAE,wEAAwE;YACrF,OAAO,EAAE,mBAAmB;SAC/B;KACJ;CACJ,CAAC"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -20,6 +20,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
20
20
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
21
21
|
};
|
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
__exportStar(require("./constants/ZosTso.constants"), exports);
|
|
24
|
+
__exportStar(require("./constants/ZosTso.profile"), exports);
|
|
23
25
|
__exportStar(require("./doc/input/IIssueTsoParms"), exports);
|
|
24
26
|
__exportStar(require("./doc/input/ISendTsoParms"), exports);
|
|
25
27
|
__exportStar(require("./doc/input/IStartTsoParms"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;AAEF,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C;AAC3C,4DAA0C;AAE1C,2DAAyC;AAEzC,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAE9C,4DAA0C;AAC1C,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAE1C,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;;;;;;;;;;;;AAEF,+DAA6C;AAC7C,6DAA2C;AAE3C,6DAA2C;AAC3C,4DAA0C;AAC1C,6DAA2C;AAC3C,4DAA0C;AAE1C,2DAAyC;AAEzC,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,kEAAgD;AAChD,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAE9C,4DAA0C;AAC1C,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAE1C,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,uDAAqC;AACrC,iDAA+B;AAC/B,sDAAoC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zowe/zos-tso-for-zowe-sdk",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.2",
|
|
4
4
|
"description": "Zowe SDK to interact with TSO on z/OS",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Zowe",
|
|
6
6
|
"license": "EPL-2.0",
|
|
7
7
|
"homepage": "https://github.com/zowe/zowe-cli/tree/master/packages/zostso#readme",
|
|
8
8
|
"bugs": {
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"typedocSpecifySrc": "typedoc --options ./typedoc.json"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@zowe/zosmf-for-zowe-sdk": "7.
|
|
47
|
+
"@zowe/zosmf-for-zowe-sdk": "7.1.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^12.12.24",
|
|
51
|
-
"@zowe/cli-test-utils": "7.
|
|
52
|
-
"@zowe/core-for-zowe-sdk": "7.
|
|
53
|
-
"@zowe/imperative": "5.0
|
|
51
|
+
"@zowe/cli-test-utils": "7.1.2",
|
|
52
|
+
"@zowe/core-for-zowe-sdk": "7.1.2",
|
|
53
|
+
"@zowe/imperative": "5.2.0",
|
|
54
54
|
"eslint": "^7.32.0",
|
|
55
55
|
"madge": "^4.0.1",
|
|
56
56
|
"rimraf": "^2.6.3",
|