Skip to content

Commit ccd6c79

Browse files
committed
examples for cics-deploy profile
1 parent 9c9e3ef commit ccd6c79

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

docs/CLIReadme.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,20 @@ if a bundle is undeployed then the definition is removed. The --csdgroup and
280280

281281
* Overwrite the cics-deploy profile when a profile of the same name exists.
282282

283+
### Examples
284+
285+
*- Create a cics-deploy profile called 'example1' to connect
286+
to a CPSM managed group of CICS regions within the TESTGRP1 scope of a cicsplex
287+
named PLEX1:
288+
289+
* ` $ zowe profiles create cics-deploy-profile example1 --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550`
290+
291+
*- Create a cics-deploy profile called 'example2' to connect
292+
to the same CPSM managed group of regions, and identify a BAS resource group
293+
BUNDGRP1 in which to store resource definitions:
294+
295+
* ` $ zowe profiles create cics-deploy-profile example2 --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --resgroup BUNDGRP1`
296+
283297
## update | upd<a name="module-update"></a>
284298
Update a profile.You can update any property present within the profile configuration. The updated profile will be printed so that you can review the result of the updates.
285299
### cics-deploy-profile<a name="command-cics-deploy-profile"></a>

src/imperative.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,19 @@ const config: IImperativeConfig = {
118118
}
119119
},
120120
required: ["cicsplex", "scope", "cicshlq", "cpsmhlq", "jobcard"]
121-
}
121+
},
122+
createProfileExamples: [
123+
{
124+
options: "example1 --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550",
125+
description: "Create a cics-deploy profile called 'example1' to connect to a CPSM managed group of CICS regions " +
126+
"within the TESTGRP1 scope of a cicsplex named PLEX1"
127+
},
128+
{
129+
options: "example2 --cicsplex PLEX1 --scope TESTGRP1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --resgroup BUNDGRP1",
130+
description: "Create a cics-deploy profile called 'example2' to connect to the same CPSM managed group of regions, " +
131+
"and identify a BAS resource group BUNDGRP1 in which to store resource definitions"
132+
}
133+
]
122134
}
123135
]
124136
};

0 commit comments

Comments
 (0)