Skip to content

Commit a9af250

Browse files
committed
Add example output
Signed-off-by: Mark Cocker <[email protected]>
1 parent c979a2d commit a9af250

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

docs/pages/cdp/cdp-Creating-Zowe-CLI-profiles.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ The z/OSMF profile defines the options needed to connect to the z/OSMF server on
3131

3232
For example, to create a z/OSMF profile:
3333

34-
```console
34+
```text
3535
zowe profiles create zosmf-profile myzos --host myzos.example.com --port 3000 --user myuserid --password mypassword --reject-unauthorized false --overwrite
3636
```
3737

3838
For help on using the options:
3939

40-
```console
40+
```text
4141
zowe profiles create zosmf-profile --help
4242
```
4343

4444
To test the connection to the z/OSMF server using the profile:
4545

46-
```console
46+
```text
4747
zowe zosmf check status
4848
```
4949

@@ -62,19 +62,19 @@ The SSH profile defines the options needed to connect to the SSH server on z/OS.
6262

6363
For example, to create an SSH profile:
6464

65-
```console
65+
```text
6666
zowe profiles create ssh-profile myzos --host myzos.example.com --user myuserid --password mypassword --overwrite
6767
```
6868

6969
For help on using the options:
7070

71-
```console
71+
```text
7272
zowe profiles create ssh-profile --help
7373
```
7474

7575
To test the connection to the SSH server using the profile:
7676

77-
```console
77+
```text
7878
zowe zos-uss issue ssh 'uname -a'
7979
```
8080

@@ -94,13 +94,13 @@ The cics-deploy profile identifies the CICS environment for deployment. An examp
9494

9595
For example to create a cics-deploy profile:
9696

97-
```console
97+
```text
9898
zowe profiles create cics-deploy-profile cics --cicsplex PLEX1 --cics-hlq CICSTS55.CICS720 --cpsm-hlq CICSTS55.CPSM550 --scope CICPY000 --csd-group BUNDGRP1 --target-directory /var/cicsts/bundles --overwrite
9999
```
100100

101101
For help on using the options:
102102

103-
```console
103+
```text
104104
zowe profiles create cics-deploy-profile --help
105105
```
106106

@@ -122,18 +122,26 @@ The CICS profile identifies the connection to the CICS Web User Interface (WUI)
122122

123123
For example, to create an SSH profile:
124124

125-
```console
125+
```text
126126
zowe profiles create cics-profile cics --cics-plex PLEX1 --region-name CICPY000 --protocol https --host myzos.example.com --port 1490 --user myuserid --password mypassword --overwrite
127127
```
128128

129129
For help on using the options:
130130

131-
```console
131+
```text
132132
zowe profiles create cics-profile --help
133133
```
134134

135135
To test the connection to the CICS WUI server using the profile:
136136

137-
```console
138-
zowe cics get resource CICSRegion
137+
```text
138+
zowe cics get resource CICSRegion | grep -E "applid|cicsstatus|jobname|mvssysname|strttime|cputime"
139139
```
140+
141+
<pre class="messageText">
142+
applid: CICPY00V
143+
cicsstatus: ACTIVE
144+
cputime: 0000:02:29.2824
145+
jobname: CICPY00V
146+
mvssysname: MV2C
147+
strttime: 2019-06-13T16:08:15.938572+00:00</pre>

0 commit comments

Comments
 (0)