Skip to content

Commit c73aa25

Browse files
Help tweaks
1 parent eb7b647 commit c73aa25

File tree

10 files changed

+25
-24
lines changed

10 files changed

+25
-24
lines changed

docs/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ In order to use the cics-deploy plugin you must first have installed Zowe CLI; f
2525
<a name="installation"></a>
2626
## Installation
2727

28-
To install the cics-deploy plugin to Zowe CLI do the following: TO BE DETERMINED; NPM, SOMETHING, SOMETHING.
28+
To install the cics-deploy plugin to Zowe CLI do the following:
29+
`zowe plugins install zowe-cli-cics-deploy-plugin`
2930

3031
<a name="generation"></a>
3132
## Generating a Bundle from an existing Node.js project

src/cli/deploy/Deploy.definition.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import { DeployBundleDefinition } from "./bundle/DeployBundle.definition";
1818
const DeployDefinition: ICommandDefinition = {
1919
name: "deploy",
2020
aliases: ["d", "dep"],
21-
summary: "Deploy a CICS bundle to a CPSM managed (group of) CICS region(s)",
22-
description: "Deploy a CICS bundle from zFS into a CPSM managed set of CICS regions. " +
23-
"A BUNDLE resource is installed and ENABLED and made AVAILABLE in the " +
24-
"target CICSplex and scope.",
21+
summary: "Deploy a CICS bundle to one or more CICS regions within a CICSplex",
22+
description: "Deploy a CICS bundle from zFS to one or more CICS regions within a CICSplex. " +
23+
"A BUNDLE resource is installed, ENABLED and made AVAILABLE in the " +
24+
"target scope of the CICSplex.",
2525
type: "group",
2626
children: [DeployBundleDefinition],
2727
};

src/cli/deploy/bundle/DeployBundle.definition.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const DeployBundleDefinition: ICommandDefinition = {
2929
name: "bundle",
3030
aliases: ["b", "bun", "bund"],
3131
summary: "Deploy a CICS bundle",
32-
description: "Deploy a CICS bundle from zFS to a CPSM managed group of CICS regions. " +
32+
description: "Deploy a CICS bundle from zFS to one or more CICS regions within a CICSplex. " +
3333
"The DFHDPLOY utility is used to install and make available a BUNDLE resource " +
3434
"in the target group of CICS regions.",
3535
type: "command",
@@ -40,16 +40,16 @@ export const DeployBundleDefinition: ICommandDefinition = {
4040
examples: [
4141
{
4242
description: "Deploy a CICS bundle with a specific name and location to a default set of target regions",
43-
options: `--name EXAMPLE --bundledir /u/example/bundleDir --cics-deploy-profile default`
43+
options: `--name EXAMPLE --bundledir /u/example/bundleDir`
4444
},
4545
{
4646
description: "Deploy a CICS bundle, but declare a timeout should the processing take too long",
47-
options: `--name EXAMPLE --bundledir /u/example/bundleDir --cics-deploy-profile default --timeout 60`
47+
options: `--name EXAMPLE --bundledir /u/example/bundleDir --timeout 60`
4848
},
4949
{
50-
description: "Deploy a CICS bundle to a specific target environment using a specific zosmf profile",
50+
description: "Deploy a CICS bundle to a specific target environment using specific zosmf & cics-deploy profiles",
5151
options: `--name EXAMPLE --bundledir /u/example/bundleDir --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP ` +
52-
`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile zprof`
52+
`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics`
5353
}
5454
]
5555
};

src/cli/shared/Cicshlq.option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const CicshlqOption: ICommandOptionDefinition = {
2323
type: "string",
2424
required: false,
2525
stringLengthRange: [1, MAX_LENGTH],
26-
description: "Specifies the High Level Qualifier (up to 35 characters) at which the CICS " +
26+
description: "Specifies the high-level qualifier (up to 35 characters) at which the CICS " +
2727
"datasets can be found in the target environment. Use this parameter if you have not set " +
2828
"the --cics-deploy-profile option."
2929
};

src/cli/shared/Cpsmhlq.option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const CpsmhlqOption: ICommandOptionDefinition = {
2323
type: "string",
2424
required: false,
2525
stringLengthRange: [1, MAX_LENGTH],
26-
description: "Specifies the High Level Qualifier (up to 35 characters) at which the CPSM " +
26+
description: "Specifies the high-level qualifier (up to 35 characters) at which the CPSM " +
2727
"datasets can be found in the target environment. Use this parameter if you have not set " +
2828
"the --cics-deploy-profile option."
2929
};

src/cli/shared/Csdgroup.option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const CsdgroupOption: ICommandOptionDefinition = {
2424
stringLengthRange: [1, MAX_LENGTH],
2525
description: "Specifies the CSD group (up to 8 characters) for the bundle resource. If a bundle is " +
2626
"deployed then a definition is added to this group; if a bundle is undeployed then the " +
27-
"definition is removed from this group. The CSD group is changed for each CICS system " +
27+
"definition is removed from this group. The definition is added or removed from the CSD of each system " +
2828
"that is specified by the --scope option. The --csdgroup and --resgroup options are " +
2929
"mutually exclusive, one of them must be set if --scope is specified."
3030
};

src/cli/shared/Jobcard.option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const JobcardOption: ICommandOptionDefinition = {
2121
type: "string",
2222
description: "Specifies the job card to use with any generated DFHDPLOY JCL. Use this parameter " +
2323
"if you need to tailor the job card and you have not set the --cics-deploy-profile " +
24-
"option.",
24+
"option. You can separate multiple lines of the jobcard with \\n.",
2525
defaultValue: "//DFHDPLOY JOB DFHDPLOY,CLASS=A,MSGCLASS=X,TIME=NOLIMIT",
2626
required: false
2727
};

src/cli/shared/Name.option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export const NameOption: ICommandOptionDefinition = {
2323
type: "string",
2424
required: true,
2525
stringLengthRange: [1, MAX_LENGTH],
26-
description: "Specifies the name of the CICS bundle (up to 8 characters) to deploy or undeploy."
26+
description: "Specifies the name of the CICS BUNDLE resource (up to 8 characters) to deploy or undeploy."
2727
};
2828

src/cli/undeploy/Undeploy.definition.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import { UndeployBundleDefinition } from "./bundle/UndeployBundle.definition";
1818
const UndeployDefinition: ICommandDefinition = {
1919
name: "undeploy",
2020
aliases: ["u", "udep"],
21-
summary: "Undeploy a CICS bundle from a CPSM managed (group of) CICS region(s)",
22-
description: "Undeploy a CICS bundle from a CPSM managed set of CICS regions. " +
21+
summary: "Undeploy a CICS bundle from one or more CICS regions within a CICSplex",
22+
description: "Undeploy a CICS bundle from one or more CICS regions within a CICSplex. " +
2323
"A BUNDLE resource is made UNAVAILABLE, it is then DISABLED and " +
24-
"DISCARDED from the target CICSplex and scope.",
24+
"DISCARDED from the target scope with the CICSplex.",
2525
type: "group",
2626
children: [UndeployBundleDefinition]
2727
};

src/cli/undeploy/bundle/UndeployBundle.definition.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const UndeployBundleDefinition: ICommandDefinition = {
2828
name: "bundle",
2929
aliases: ["b", "bun", "bund"],
3030
summary: "Deploy a CICS bundle",
31-
description: "Undeploy a CICS bundle from a CPSM managed group of CICS regions. " +
31+
description: "Undeploy a CICS bundle from one or more CICS regions within a CICSplex. " +
3232
"The DFHDPLOY utility is used to undeploy and remove a BUNDLE resource " +
3333
"from the target group of CICS regions.",
3434
type: "command",
@@ -38,17 +38,17 @@ export const UndeployBundleDefinition: ICommandDefinition = {
3838
profile: { required: ["zosmf"], optional: ["cics-deploy"] },
3939
examples: [
4040
{
41-
description: "Undeploy a CICS bundle from a default set of target regions",
42-
options: `--name EXAMPLE --cics-deploy-profile default`
41+
description: "Undeploy a CICS bundle using the default cics-deploy profile",
42+
options: `--name EXAMPLE`
4343
},
4444
{
4545
description: "Undeploy a CICS bundle, and declare a timeout should the processing take too long",
46-
options: `--name EXAMPLE --cics-deploy-profile default --timeout 60`
46+
options: `--name EXAMPLE --timeout 60`
4747
},
4848
{
49-
description: "Undeploy a CICS bundle from a specific target environment using a specific zosmf profile",
49+
description: "Undeploy a CICS bundle from a specific target environment using specific zosmf and cics-deploy profiles",
5050
options: `--name EXAMPLE --cicsplex TESTPLEX --scope SCOPE --resgroup BUNDGRP ` +
51-
`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile zprof`
51+
`--cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics`
5252
}
5353
]
5454
};

0 commit comments

Comments
 (0)