Skip to content

Commit d3814e0

Browse files
authored
Merge pull request #286 from markcocker/dev
Update doc file names to be consistent with title
2 parents 2db2eeb + 3c583ef commit d3814e0

15 files changed

+97
-75
lines changed

docs/_data/sidebars/cdp_sidebar.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,86 +6,87 @@ entries:
66
folders:
77

88
- title: Getting Started
9-
url: index.html
9+
url: index
1010
output: web
1111
folderitems:
1212

1313
- title: Zowe CLI CICS deploy plug-in
14-
url: index.html
14+
url: index
1515
output: web
1616

1717
- title: Requirements on z/OS
18-
url: cdp-Requirements.html
18+
url: cdp-Requirements-on-zOS
1919
output: web
2020

2121
- title: Installing
22-
url: cdp-Installing.html
22+
url: cdp-Installing
2323
output: web
2424

2525
- title: Creating Zowe CLI profiles
26-
url: cdp-Creating-Zowe-CLI-profiles.html
26+
url: cdp-Creating-Zowe-CLI-profiles
2727
output: web
2828

2929
- title: Tutorials
30-
url: cdp-Tutorials-overview.html
30+
url: cdp-Tutorials-overview
3131
output: web
3232
folderitems:
3333

3434
- title: Tutorials overview
35-
url: cdp-Tutorials-overview.html
35+
url: cdp-Tutorials-overview
3636
output: web
3737

3838
- title: Preparing a z/OS PT image
39-
url: cdp-Preparing-a-zOS-PT-image.html
39+
url: cdp-Preparing-a-zOS-PT-image
4040
output: web
4141

4242
- title: Provisioning a CICS region
43-
url: cdp-Provisioning-a-CICS-region.html
43+
url: cdp-Provisioning-a-CICS-region
4444
output: web
4545

4646
- title: Deploying a Node.js application
47-
url: cdp-Deploying-a-nodejs-application.html
47+
url: cdp-Deploying-a-Nodejs-application
4848
output: web
4949

5050
- title: Deploying a CICS policy
51-
url: cdp-Deploying-a-CICS-policy.html
51+
url: cdp-Deploying-a-CICS-policy
5252
output: web
5353

5454
- title: Deploying using individual actions
55-
url: cdp-Deploying-using-individual-actions.html
55+
url: cdp-Deploying-using-individual-actions
5656
output: web
5757

5858
- title: Concepts
59-
url: cdp-zowe-and-cli.html
59+
url: cdp-Zowe-and-CLI
6060
output: web
6161
folderitems:
6262

6363
- title: Zowe and the Zowe CLI
64-
url: cdp-zowe-and-cli.html
64+
url: cdp-Zowe-and-CLI
6565
output: web
6666

6767
- title: Zowe CLI profiles
68-
url: cdp-zowe-profiles.html
68+
url: cdp-Zowe-CLI-profiles
6969
output: web
7070

7171
- title: CICS bundles
72-
url: cdp-cics-bundles.html
72+
url: cdp-CICS-bundles
7373
output: web
7474

7575
- title: Troubleshooting
76-
url: cdp-Troubleshooting-General.html
76+
url: cdp-Log-and-trace-files
7777
output: web
7878
folderitems:
7979

8080
- title: Log and trace files
81-
url: cdp-Troubleshooting-General.html
81+
url: cdp-Log-and-trace-files
8282
output: web
8383

8484
- title: Common Errors
85-
url: cdp-Common-Errors.html
85+
url: cdp-Common-errors
8686
output: web
8787

8888
- title: Commands
89+
url: cdp-CLIReadMe#create--cre
8990
output: web
9091
folderitems:
9192

docs/pages/cdp/cdp-Common-Errors.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
11
---
2-
title: Common Errors
2+
title: Common errors
33
tags: [troubleshooting]
44
keywords:
55
summary: "Some common errors can occasionally occur when you attempt to deploy a Node.js application using the cics-deploy plug-in."
66
sidebar: cdp_sidebar
7-
permalink: cdp-Common-Errors.html
7+
permalink: cdp-Common-errors.html
88
folder: cdp
99
---
1010

1111
## Precautionary checks
12+
1213
If you experience errors while using the cics-deploy plug-in, check the following potential causes before investigating further:
14+
1315
* CICS must be authorized to read the bundle directory `META-INF`.
14-
* The port specified by the `--port` argument of the `cics-deploy generate bundle` command *must* be free on z/OS before you attempt to deploy an application.
16+
* The port specified by the `--port` argument of the `cics-deploy generate bundle` command *must* be free on z/OS before you attempt to deploy an application.
1517
* If you set a `WORK_DIR` in the CICS Node.js application profile, such as `nodejsapps/<your application name>.profile`, it must be *writeable* by CICS.
1618

1719
## Deployment errors
20+
1821
{% include note.html content="For further troubleshooting steps, see [Troubleshooting Node.js applications](https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.5.0/troubleshooting/node/node-troubleshooting.html)." %}
1922

20-
{% include important.html content="To definitively diagnose a problem based on the suggested symptoms, you might need to refer to one or more [system logs and traces](cdp-Troubleshooting-General) particularly the STDERR Node.js log and the file assigned the MSGUSR DD name in the relevant CICS job. Depending on your familiarity with z/OS and CICS, and your system privileges, you may also need to consult a CICS systems administrator to get to the bottom of certain problems." %}
23+
{% include important.html content="To definitively diagnose a problem based on the suggested symptoms, you might need to refer to one or more [system logs and traces](cdp-Log-and-trace-files) particularly the STDERR Node.js log and the file assigned the MSGUSR DD name in the relevant CICS job. Depending on your familiarity with z/OS and CICS, and your system privileges, you may also need to consult a CICS systems administrator to get to the bottom of certain problems." %}
2124

2225
### Application incorrectly deploys in a DISABLED state
26+
2327
*Possible cause*: The port requested by the application is already in use.
2428

2529
*Suggested action*: Choose a new port number after double-checking that it is not in use. Redeploy the application using the new value for the port.
2630

2731
{% include note.html content="An application in a `DISABLED` state does not necessarily indicate an error condition. The `cics-deploy deploy`, `cics-deploy push` and `cics-deploy undeploy` commands allow you to specify a `--target-state` option which you may deliberately choose to set to `DISABLED`." %}
2832

2933
### Command error: DFHDPLOY stopped processing due to an error
30-
*Possible causes*:
31-
* The `--scope` and/or `--cicsplex` settings for the current deploy profile are wrong, and don't correctly identify a current CICS system, CICS System Group and/or a correct CICSPlex respectively.
32-
33-
* The CMAS for the current CICSPlex is inactive.
3434

35-
* CPSM is not functioning correctly.
35+
*Possible causes*:
36+
* The `--scope` and/or `--cicsplex` settings for the current deploy profile are wrong, and don't correctly identify a current CICS system, CICS System Group and/or a correct CICSPlex respectively.
37+
* The CMAS for the current CICSPlex is inactive.
38+
* CPSM is not functioning correctly.
3639

3740
*Representative output*:
3841
<pre class="messageText">
@@ -45,11 +48,12 @@ If you experience errors while using the cics-deploy plug-in, check the followin
4548
</pre>
4649

4750
*Suggested actions*:
48-
* Confirm that the `--scope` and `--cicsplex` settings are correct.
4951

50-
* Ask your CICS Systems Programmer to check that the CMAS for the current CICSPlex is alive and that CPSM is working properly.
52+
* Confirm that the `--scope` and `--cicsplex` settings are correct.
53+
* Ask your CICS Systems Programmer to check that the CMAS for the current CICSPlex is alive and that CPSM is working properly.
5154

5255
### Command error: ... validation of - -cicshlq dataset failed: z/OSMF REST API Error
56+
5357
*Possible cause*: The profile setting for `--cicshlq` is incorrect.
5458

5559
*Representative output*:
@@ -69,6 +73,7 @@ details:
6973
Check that your `--cicshlq` profile setting matches the value configured for CICS high-level qualifiers in your CICS region.
7074

7175
### BUNDLE ... cannot be deployed
76+
7277
*Possible cause*: The `cics.xml` file is malformed.
7378

7479
*Representative output*:
@@ -77,20 +82,22 @@ Check that your `--cicshlq` profile setting matches the value configured for CIC
7782
15:56:17.419308 : DFHRL2055I Errors have occurred, processing terminated.
7883
15:56:17.424650 : DFHRL2014I Disconnecting from CICSPLEX(CAPLEX).
7984
...
80-
DFHRL0107 I 05/17/2019 15:56:15 CALMAS1 CICSUSER The CICS resource lifecycle manager has started to create the BUNDLE resource
81-
CICSJS02.
82-
DFHPI1007 05/17/2019 15:56:15 CALMAS1 COIE 00672 XML to data transformation failed because of incorrect input
83-
(MISSING_CLOSE_TAG_CHAR manifest) for BUNDLE CICSJS02.
84-
DFHRL0113 E 05/17/2019 15:56:15 CALMAS1 COIE The CICS resource lifecycle manager failed to create the BUNDLE resource CICSJS02
85+
DFHRL0107 I 05/17/2019 15:56:15 CALMAS1 CICSUSER The CICS resource lifecycle manager has started to create the BUNDLE resource
86+
CICSJS02.
87+
DFHPI1007 05/17/2019 15:56:15 CALMAS1 COIE 00672 XML to data transformation failed because of incorrect input
88+
(MISSING_CLOSE_TAG_CHAR manifest) for BUNDLE CICSJS02.
89+
DFHRL0113 E 05/17/2019 15:56:15 CALMAS1 COIE The CICS resource lifecycle manager failed to create the BUNDLE resource CICSJS02
8590
because CICS failed to parse the manifest /u/&lt;your user id>/pushtest2/CICSJSON_1.0.0/META-INF/cics.xml specified in the bundle
86-
root directory. The manifest is not valid.
91+
root directory. The manifest is not valid.
8792
</pre>
8893

8994
*Suggested action*:
9095
Check that your `cics.xml` file is well-formed.
9196

9297
## General errors
98+
9399
### Syntax error: Invalid value length for option
100+
94101
*Possible cause*: The length of the option you provided in a command was either too long or two short.
95102

96103
*Representative output*:
@@ -105,5 +112,5 @@ NODETESTS
105112
The length must be between 1 and 8 (inclusive)
106113
</pre>
107114

108-
*Suggested action*:
109-
Review the error output text and reissue the original command having corrected the name of the option so that its length falls within acceptable limits.
115+
*Suggested action*:
116+
Review the error output text and reissue the original command having corrected the name of the option so that its length falls within acceptable limits.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For help on using the options:
114114
zowe profiles create cics-deploy-profile --help
115115
```
116116

117-
To test the cics-deploy profile, follow the steps in [Deploying a Node.js application](cdp-Deploying-a-nodejs-application).
117+
To test the cics-deploy profile, follow the steps in [Deploying a Node.js application](cdp-Deploying-a-Nodejs-application).
118118

119119
### CICS profile
120120

docs/pages/cdp/cdp-Deploying-a-CICS-policy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ This tutorial shows how to download a sample CICS policy and deploy it using the
4343

4444
The warning can be ignored as the default values result in the files being uploaded in text that is suitable for this bundle.
4545

46-
The CICS BUNDLE resource named `Policy` is defined, installed, and enabled in CICS. If the BUNDLE `Policy` was already defined or installed in CICS, it is undeployed first. As the BUNDLE is enabled, the policy is also enabled. If there are errors, retry with the `--verbose` option for more detailed output, or refer to [Troubleshooting](cdp-Troubleshooting-General).
46+
The CICS BUNDLE resource named `Policy` is defined, installed, and enabled in CICS. If the BUNDLE `Policy` was already defined or installed in CICS, it is undeployed first. As the BUNDLE is enabled, the policy is also enabled. If there are errors, retry with the `--verbose` option for more detailed output, or refer to [Troubleshooting](cdp-Log-and-trace-files).
4747

4848
### Results
4949

50-
The CICS policy is enabled in the CICS region. When the policy rule is triggered, CICS will write message DFHMP3009 to the CICS region JES job log. For details on how to view this log see [Log and trace files](cdp-Troubleshooting-General).
50+
The CICS policy is enabled in the CICS region. When the policy rule is triggered, CICS will write message DFHMP3009 to the CICS region JES job log. For details on how to view this log see [Log and trace files](cdp-Log-and-trace-files).
5151

5252
To get started with defining your own CICS policy:
53+
5354
* [Download and start the CICS Explorer](https://www.ibm.com/support/knowledgecenter/en/SSSQ3W_5.5.0/com.ibm.cics.core.help/topics/concepts/install_planning_client.html).
5455
* Create a CICS bundle project using the procedure [Creating a CICS bundle project](https://www.ibm.com/support/knowledgecenter/SSSQ3W_5.5.0/com.ibm.cics.core.help/topics/tasks/create_bundle.html).
5556
* Create a policy using the procedure [To create a policy in a CICS bundle project](https://www.ibm.com/support/knowledgecenter/SSSQ3W_5.5.0/com.ibm.cics.core.help/topics/tasks/task_create_policy.html).

docs/pages/cdp/cdp-Deploying-a-nodejs-application.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags: [tutorial]
44
keywords:
55
summary: "The following steps take you through creating a Node.js application using the Express Application Generator then deploying it to CICS."
66
sidebar: cdp_sidebar
7-
permalink: cdp-Deploying-a-nodejs-application.html
7+
permalink: cdp-Deploying-a-Nodejs-application.html
88
folder: cdp
99
toc: true
1010
---
@@ -31,7 +31,7 @@ CICS TS V5.5 introduced support to run Node.js applications and is required by t
3131

3232
The Node.js application will start. You can call the application from a browser by using URL [http://localhost:3000/](http://localhost:3000/). To stop the application in the console press CTRL+C.
3333

34-
4. Package the Node.js application into a [CICS bundle](cdp-cics-bundles).
34+
4. Package the Node.js application into a [CICS bundle](cdp-CICS-bundles).
3535

3636
Make sure that you are in the root directory of the application.
3737

@@ -71,7 +71,7 @@ CICS TS V5.5 introduced support to run Node.js applications and is required by t
7171
stderr: /u/cicprov/mnt/CICPY000/workdir/CICPY000/myexpressapp/Express/D20190612.T144609.stderr
7272
PUSH operation completed</pre>
7373

74-
This results in a CICS BUNDLE resource named `Express` being defined, installed, and enabled in CICS. If the BUNDLE `Express` was already defined or installed in CICS, it is undeployed first. As the BUNDLE is enabled, the application is started. If there are errors, retry with the `--verbose` option for more detailed output, or refer to [Troubleshooting](cdp-Troubleshooting-General).
74+
This results in a CICS BUNDLE resource named `Express` being defined, installed, and enabled in CICS. If the BUNDLE `Express` was already defined or installed in CICS, it is undeployed first. As the BUNDLE is enabled, the application is started. If there are errors, retry with the `--verbose` option for more detailed output, or refer to [Troubleshooting](cdp-Log-and-trace-files).
7575

7676
6. Test the application.
7777

docs/pages/cdp/cdp-Deploying-using-individual-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ folder: cdp
99
toc: true
1010
---
1111

12-
The `zowe cics-deploy push bundle` command performs a set of actions to deploy applications to CICS, as can be seen in [Deploying a Node.js application](cdp-Deploying-a-nodejs-application). The main actions include:
12+
The `zowe cics-deploy push bundle` command performs a set of actions to deploy applications to CICS, as can be seen in [Deploying a Node.js application](cdp-Deploying-a-Nodejs-application). The main actions include:
1313

1414
* undeploy the old version of the CICS bundle in CICS
1515
* upload the new version of the CICS bundle to z/OS
@@ -99,4 +99,4 @@ Alternatively, to define and install the BUNDLE but not enable it:
9999

100100
```console
101101
zowe cics-deploy deploy bundle --name Express --bundle-directory "/var/cicsts/bundles/myexpressapp_1.0.0" --target-state disabled
102-
```
102+
```

docs/pages/cdp/cdp-Troubleshooting-General.md renamed to docs/pages/cdp/cdp-Log-and-trace-files.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22
title: Log and trace files
33
tags: [troubleshooting]
44
keywords:
5-
summary: "When you use Zowe, log and trace files are written on both your local workstation and the z/OS machine."
5+
summary: "When you use Zowe, log and trace files are written on both your local workstation and z/OS."
66
sidebar: cdp_sidebar
7-
permalink: cdp-Troubleshooting-General.html
7+
permalink: cdp-Log-and-trace-files.html
88
folder: cdp
99
---
1010

1111
### Console output
12+
1213
All Zowe CLI CICS deploy plug-in commands send output to the console when invoked. Very often, enough information is provided for you to diagnose and pinpoint the cause of a problem. The commands `cics-deploy push`, `cics-deploy deploy` and `cics-deploy undeploy` accept a `--verbose` command-line option which can generate extra information if needed.
1314

1415
### zowe.log
15-
The .zowe directory on your local workstation contains log files, profiles, and plug-ins. The location of this directory can be customised as described in [ Setting the Zowe CLI home directory](https://zowe.github.io/docs-site/latest/user-guide/cli-configuringcli.html#setting-the-zowe-cli-home-directory) and logging level set as described in [Setting Zowe CLI log levels](https://zowe.github.io/docs-site/latest/user-guide/cli-configuringcli.html#setting-zowe-cli-log-levels).
16+
17+
The .zowe directory on your local workstation contains log files, profiles, and plug-ins. The location of this directory can be customized as described in [Setting the Zowe CLI home directory](https://zowe.github.io/docs-site/latest/user-guide/cli-configuringcli.html#setting-the-zowe-cli-home-directory) and logging level set as described in [Setting Zowe CLI log levels](https://zowe.github.io/docs-site/latest/user-guide/cli-configuringcli.html#setting-zowe-cli-log-levels).
1618

1719
You can use the following command to display messages written to the log file as they occur. This can be useful when troubleshooting problems when using `zowe` and `zowe cics-plugin` commands in another terminal.
1820
<ul id="profileTabs" class="nav nav-tabs">
@@ -22,25 +24,27 @@ You can use the following command to display messages written to the log file as
2224
</ul>
2325
<div class="tab-content">
2426
<div role="tabpanel" class="tab-pane active" id="windows">
25-
<p>On Windows, use the Powershell command
27+
<p>On Windows, use the Powershell command:
2628
<br/><br/>
2729
<tt>Get-Content $env:USERPROFILE\.zowe\zowe\logs\zowe.log -Tail 30 -wait</tt></p>
2830
</div>
2931

3032
<div role="tabpanel" class="tab-pane" id="linux">
31-
<p>On Linux, use <tt>tail -f -n 0 ~/.zowe/zowe/logs/zowe.log</tt></p></div>
33+
<p>On Linux, use command: <tt>tail -f -n 0 ~/.zowe/zowe/logs/zowe.log</tt></p></div>
3234

3335
<div role="tabpanel" class="tab-pane" id="macos">
34-
<p>On macOS, use <tt>tail -f -n 0 ~/.zowe/zowe/logs/zowe.log</tt></p>
36+
<p>On macOS, use command: <tt>tail -f -n 0 ~/.zowe/zowe/logs/zowe.log</tt></p>
3537
</div>
3638
</div>
3739

3840
### Node.js logs
41+
3942
By default, CICS writes Node.js log files on z/OS to the `/tmp` directory. However, the `generate bundle` command creates a number of files including `nodejsapps/<my app name>.profile` (often referred to as the Node.js profile), which you can edit to specify a more convenient log file location. Such logs get written to the directory referenced by the environment variable `WORK_DIR`. For example, you might edit your Node.js profile so that it includes the line:
4043

41-
```
44+
```properties
4245
WORK_DIR=/u/<your user id>/nodelogs
4346
```
47+
4448
This causes CICS to write all Node.js logs to the specified directory.
4549

4650
Files typically written to `WORK_DIR` include:
@@ -55,6 +59,7 @@ They can all be useful when identifying the cause of an error, especially STDERR
5559
{% include tip.html content="The `cics-deploy push` command outputs the full paths of STDOUT and STDERR after a deployment." %}
5660

5761
### JES job logs
62+
5863
If you are familiar with the z/OS environment, you can often find some useful diagnostics by accessing the JES job log associated with the CICS region you deployed to. The `cics-deploy push` command outputs the job IDs for all the CICS regions in the scope after a deployment. The MSGUSR, SYSPRINT, SYSOUT and JESMSGLG spool files can all provide useful information. If you are not so fluent with the world of z/OS, you may need to discuss your needs with one of your organization's CICS system administrators.
5964

60-
{% include note.html content="If you use [Visual Studio Code](https://code.visualstudio.com/) as your editor, there is a [Zowe extension](https://marketplace.visualstudio.com/items?itemName=Zowe.vscode-extension-for-zowe) that enables you to interact with USS files and examine JES job logs from your local workstation." %}
65+
{% include note.html content="If you use [Visual Studio Code](https://code.visualstudio.com/) as your editor, there is a [Zowe extension](https://marketplace.visualstudio.com/items?itemName=Zowe.vscode-extension-for-zowe) that enables you to interact with USS files and examine JES job logs from your local workstation." %}

0 commit comments

Comments
 (0)