@broadcom/mat-analyze-for-zowe-cli 1.0.5 → 1.0.9
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/CHANGELOG.md +13 -2
- package/README.md +40 -40
- package/lib/cli/monitor/Monitor.definition.js +1 -1
- package/lib/cli/monitor/Monitor.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js +5 -5
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +8 -8
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js.map +1 -1
- package/lib/cli/profile/Profile.definition.js +1 -1
- package/lib/cli/profile/Profile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.definition.js +46 -45
- package/lib/cli/profile/create/CreateProfile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.handler.d.ts +2 -0
- package/lib/cli/profile/create/CreateProfile.handler.js +140 -96
- package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.definition.js +12 -11
- package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +1 -1
- package/lib/cli/session/MATSession.d.ts +2 -2
- package/lib/cli/session/MATSession.js +11 -11
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js +20 -24
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.js +0 -1
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/imperative.js +11 -11
- package/lib/imperative.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
All notable changes to this project are documented in this file.
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## `1.0.9`
|
|
5
|
+
- Dependencies fix
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
## `1.0.8`
|
|
8
|
+
- Rebranding updates
|
|
9
|
+
|
|
10
|
+
## `1.0.7`
|
|
11
|
+
- Security updates
|
|
12
|
+
|
|
13
|
+
## `1.0.6`
|
|
14
|
+
- Issue resolution for correct boolean datatype for zowediscoverable/zdis parameter.
|
|
15
|
+
|
|
16
|
+
## `1.0.6`
|
|
17
|
+
- Issue resolution for correct boolean datatype for zowediscoverable/zdis parameter.
|
|
7
18
|
|
|
8
19
|
## `1.0.5`
|
|
9
20
|
- Program listing support enhancements: The `zowe mat profile invoke` command is enhanced with the `listing` option, which activates the automated retrieval of Cobol, C/C++, and Assembler program listings through CA Endevor® footprints and registers the listing with CA MAT after the measurement is completed. Optional parameter `listingDir` added to the MAT profile options. The parameter defines the local directory to store retrieved listings. The `zowe mat monitor codeview histogram` command is enhanced with the `listing` option that retrieves the program listing details pertaining to the specific statement and CSECT. Users of Visual Studio Code IDE can navigate from the command response in their IDE terminal directly to the specific line and column of the retrieved source code.
|
package/README.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
<img src="https://github.com/openmainframeproject/artwork/blob/master/other/zowe-conformant/zowev1/cli/color/zowe-conformant-zowev1-cli-color.png?raw=true" width=25% alt="Zowe Conformance Badge">
|
|
2
2
|
|
|
3
|
-
#
|
|
4
|
-
The
|
|
3
|
+
# MAT Analyze Plug-in for Zowe CLI
|
|
4
|
+
The MAT Analyze plug-in for Zowe CLI provides access to Mainframe Application Tuner (MAT) functionality. The plug-in ensures interaction with MAT and enables you to measure your mainframe applications and get the analysis data in the form of MAT analysis views using Zowe command line interface.
|
|
5
5
|
|
|
6
|
-
You can use the
|
|
6
|
+
You can use the MAT Analyze plug-in for Zowe CLI to perform the following tasks:
|
|
7
7
|
* Manage monitor profiles.
|
|
8
8
|
Create and invoke monitor profiles, view the lists of available profiles, and retrieve the measurement history.
|
|
9
9
|
* Analyze the measurement data.
|
|
10
|
-
Access the measurement data from
|
|
10
|
+
Access the measurement data from Mainframe Application Tuner that is available to you in the CLI in the form of MAT analysis views.
|
|
11
11
|
* Address performance issues.
|
|
12
|
-
With the source program listing registered with
|
|
12
|
+
With the source program listing registered with MAT, users of Visual Studio Code (VS Code) IDE can obtain the Histogram details and display specific source program locations that are associated with the most resource-consuming program modules and CSECTs. When you request the Histogram measurement details from your VS Code command line terminal, the MAT Analyze plug-in for Zowe CLI transfers the source code listing to your local machine and navigates you directly to the specific line and column number of the source code, which enables you to immediately inspect the program statement and identify possible tuning opportunities.
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Table of Contents
|
|
16
16
|
=================
|
|
17
17
|
* [Installation](#installation)
|
|
18
18
|
* [Prerequisites](#prerequisites)
|
|
19
|
-
* [Install the
|
|
20
|
-
* [Install the
|
|
19
|
+
* [Install the MAT Analyze Plug-in for Zowe CLI From Packages](#install-the-mat-analyze-plug-in-for-zowe-cli-from-packages)
|
|
20
|
+
* [Install the MAT Analyze Plug-in for Zowe CLI From Source](#install-the-mat-analyze-plug-in-for-zowe-cli-from-source)
|
|
21
21
|
* [Validate the Installation](#validate-the-installation)
|
|
22
22
|
* [Create a z/OSMF Profile](#create-a-zosmf-profile)
|
|
23
23
|
* [Create a MAT Profile](#create-a-mat-profile)
|
|
@@ -42,23 +42,23 @@ Table of Contents
|
|
|
42
42
|
* [db2](#db2)
|
|
43
43
|
* [db2view | db2](#db2view--db2)
|
|
44
44
|
* [sqlstmt | sql](#sqlstmt--sql)
|
|
45
|
-
* [Uninstall the
|
|
45
|
+
* [Uninstall the MAT Analyze Plug-in for Zowe CLI](#uninstall-the-mat-analyze-plug-in-for-zowe-cli)
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
# Installation
|
|
50
|
-
You can install the
|
|
50
|
+
You can install the MAT Analyze Plug-in for Zowe CLI:
|
|
51
51
|
* From the Zowe Package
|
|
52
52
|
* From Source
|
|
53
53
|
|
|
54
54
|
## Prerequisites
|
|
55
|
-
Before starting the installation of the
|
|
55
|
+
Before starting the installation of the MAT Analyze Plug-in for Zowe CLI, verify that you have:
|
|
56
56
|
* Zowe CLI installed
|
|
57
57
|
* Zosmf profile created.
|
|
58
|
-
*
|
|
59
|
-
* (Optional) To use the automated listing registration and retrieval option through
|
|
58
|
+
* MAT database and the REST API installed, configured, and running.
|
|
59
|
+
* (Optional) To use the automated listing registration and retrieval option through Endevor® footprints, install and configure the Endevor® Web Services and specify the Endevor® web server details in the MAT database configuration.
|
|
60
60
|
|
|
61
|
-
## Install the
|
|
61
|
+
## Install the MAT Analyze Plug-in for Zowe CLI From Packages
|
|
62
62
|
Issue the following command:
|
|
63
63
|
|
|
64
64
|
```
|
|
@@ -67,8 +67,8 @@ $ zowe plugins install @broadcom/mat-analyze-for-zowe-cli
|
|
|
67
67
|
**Note:**
|
|
68
68
|
The `latest` npm tag installs a version of the product that is intended for public consumption. You can use different npm tags to install other versions of the product. For example, you can install with the `@beta` tag to try new features that have not been fully validated. For more information about tag usage, see [NPM Tag Names](https://github.com/zowe/zowe-cli/blob/master/docs/MaintainerVersioning.md#npm-tag-names).
|
|
69
69
|
|
|
70
|
-
## Install the
|
|
71
|
-
To install the
|
|
70
|
+
## Install the MAT Analyze Plug-in for Zowe CLI From Source
|
|
71
|
+
To install the MAT Analyze plug-in for Zowe CLI from source, follow these steps:
|
|
72
72
|
|
|
73
73
|
1. `git clone git@github.gwd.broadcom.net:MFD/mat-analyze-for-zowe-cli.git`
|
|
74
74
|
2. `cd mat-analyze-for-zowe-cli`
|
|
@@ -95,7 +95,7 @@ $ zowe profiles create zosmf-profile --help
|
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
## Create a MAT Profile
|
|
98
|
-
To enable the interaction of the
|
|
98
|
+
To enable the interaction of the MAT Analyze plug-in for Zowe CLI with MAT, you need to create a MAT profile. You set up a MAT profile to avoid typing your connection details on every command. The profile contains your protocol type, host, and port that you defined for the MAT REST API server, and your mainframe username and password. You can create multiple profiles and switch between them if necessary.
|
|
99
99
|
|
|
100
100
|
**Usage**
|
|
101
101
|
```
|
|
@@ -123,11 +123,11 @@ To enable the interaction of the CA MAT Analyze plug-in for Zowe CLI with CA MAT
|
|
|
123
123
|
`--password` | `--pass` *(string)*
|
|
124
124
|
Your mainframe password.
|
|
125
125
|
|
|
126
|
-
`--zowediscoverable` | `--zdis` *(
|
|
127
|
-
Specifies whether you want to use Zowe API Mediation Layer to process the commands for this profile (`true` or `false`). Set `--zowediscoverable true` only if you have configured the Zowe API Mediation Layer properties in your
|
|
126
|
+
`--zowediscoverable` | `--zdis` *(boolean)*
|
|
127
|
+
Specifies whether you want to use Zowe API Mediation Layer to process the commands for this profile (`true` or `false`). Set `--zowediscoverable true` only if you have configured the Zowe API Mediation Layer properties in your MAT REST API server settings.
|
|
128
128
|
|
|
129
129
|
`--listingDir` | `--ldir` *(string)*
|
|
130
|
-
Specifies the directory where you want to store the registered program listings (e.g. 'c:\listings') for your immediate source code inspection. You can use the advantage of automated listing registration with
|
|
130
|
+
Specifies the directory where you want to store the registered program listings (e.g. 'c:\listings') for your immediate source code inspection. You can use the advantage of automated listing registration with MAT and listing retrieval through Endevor® footprints for Cobol, C/C++, and Assembler programs. When a source program listing is registered with MAT, you can enhance the histogram analysis data with the program listing details that pertain to the specific CSECT and program statement. The listing is transfered to the specified directory, which enables you to navigate directly to the line of the source code in you VS Code IDE and inspect the program statement. To use the listing retrieval option through Endevor® footprints, you need to have the Endevor® Web Services installed and configured and specify the Endevor® web server details in the MAT database configuration. The `--listingDir` parameter is optional.
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
**Options**
|
|
@@ -135,12 +135,12 @@ To enable the interaction of the CA MAT Analyze plug-in for Zowe CLI with CA MAT
|
|
|
135
135
|
Overwrite the MAT profile when a profile of the same name exists.
|
|
136
136
|
|
|
137
137
|
**Examples**
|
|
138
|
-
* Create a MAT profile called 'matprofile' using your
|
|
138
|
+
* Create a MAT profile called 'matprofile' using your MAT configuration and REST API details, with the MAT REST API server integrated with the Zowe API Mediation Layer:
|
|
139
139
|
```
|
|
140
140
|
$ zowe profiles create mat-profile matprofile --prt http --hn localhost --pt 1234 --user johndoe --pass qwerty --zowediscoverable true
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
* Create a MAT profile called 'matprofile' using your
|
|
143
|
+
* Create a MAT profile called 'matprofile' using your MAT configuration and the details of the MAT REST API server without integration with the Zowe API Mediation Layer, and define the 'c:\listings' directory to store program listings for instant analysis from your VS Code IDE:
|
|
144
144
|
```
|
|
145
145
|
$ zowe profiles create mat-profile matprofile --prt http --hn localhost --pt 1234 --user johndoe --pass qwerty --zowediscoverable false --listingDir 'c:\listings'
|
|
146
146
|
```
|
|
@@ -172,17 +172,17 @@ The name of a (mat) profile to load for this command execution.
|
|
|
172
172
|
You can also have other MAT connection options apart from the MAT profile and use them as options in the commands.
|
|
173
173
|
|
|
174
174
|
# Use Cases and Commands
|
|
175
|
-
The
|
|
175
|
+
The MAT Analyze plug-in for Zowe CLI enables you to manage monitor profiles and get the measurement analysis data using Mainframe Application Tuner (MAT).
|
|
176
176
|
```
|
|
177
177
|
$ zowe mat <group>
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
The
|
|
180
|
+
The MAT Analyze plug-in for Zowe CLI commands are organized in the following **command groups**:
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
## PROFILE
|
|
185
|
-
The commands from the PROFILE group enable you to create, invoke, and list
|
|
185
|
+
The commands from the PROFILE group enable you to create, invoke, and list MAT monitor profiles.
|
|
186
186
|
|
|
187
187
|
**Usage**
|
|
188
188
|
```
|
|
@@ -192,7 +192,7 @@ $ zowe mat profile <command>
|
|
|
192
192
|
The following **commands** are available for the PROFILE group:
|
|
193
193
|
|
|
194
194
|
### create | cr
|
|
195
|
-
Create a
|
|
195
|
+
Create a MAT monitor profile.
|
|
196
196
|
|
|
197
197
|
**Usage**
|
|
198
198
|
```
|
|
@@ -201,7 +201,7 @@ $ zowe mat profile create [options]
|
|
|
201
201
|
|
|
202
202
|
**Required Options**
|
|
203
203
|
`--profile` *(string)*
|
|
204
|
-
Specifies the name of the profile that you create in
|
|
204
|
+
Specifies the name of the profile that you create in MAT (e.g. PROFILE1).
|
|
205
205
|
Values: 1 to 8 characters, a combination of alphanumeric and national characters (A-Z, 0-9, and @), the first character must be an alphabetic or @. The profile name must not contain characters # and $.
|
|
206
206
|
|
|
207
207
|
`--jobname` *(string)*
|
|
@@ -222,8 +222,8 @@ Allowed values: yes, no.
|
|
|
222
222
|
Provide the monitor description (maximum 24 characters).
|
|
223
223
|
|
|
224
224
|
`--mondsn` *(string)*
|
|
225
|
-
Specifies the monitor data set name where
|
|
226
|
-
Values: data set name pattern, maximum 46 characters. If not specified, your default
|
|
225
|
+
Specifies the monitor data set name where MAT saves the measurement (e.g. DEMO.MAT.MONITOR).
|
|
226
|
+
Values: data set name pattern, maximum 46 characters. If not specified, your default MAT monitor DSN pattern is applied.
|
|
227
227
|
|
|
228
228
|
`--stepname` *(string)*
|
|
229
229
|
Specifies the name of the job step to monitor.
|
|
@@ -367,7 +367,7 @@ $ zowe mat profile create --profile PROFILE1 --jobname JOB1 --targsys AA31,AA32
|
|
|
367
367
|
```
|
|
368
368
|
|
|
369
369
|
### invoke | ivk
|
|
370
|
-
Invoke a
|
|
370
|
+
Invoke a MAT monitor profile to start measurement. If you invoke a monitor profile that does currently exist, MAT creates the profile with the provided name and invokes the measurement for this profile.
|
|
371
371
|
|
|
372
372
|
**Usage**
|
|
373
373
|
```
|
|
@@ -376,7 +376,7 @@ $ zowe mat profile invoke [options]
|
|
|
376
376
|
|
|
377
377
|
**Required Options**
|
|
378
378
|
`--profile` *(string)*
|
|
379
|
-
Specifies the name of the profile in
|
|
379
|
+
Specifies the name of the profile in MAT that you invoke (e.g. PROFILE1).
|
|
380
380
|
Values: 1 to 8 characters, a combination of alphanumeric and national characters (A-Z, 0-9, and @), the first character must be an alphabetic or @. The profile name must not contain characters # and $.
|
|
381
381
|
|
|
382
382
|
`--jobname` *(string)*
|
|
@@ -389,8 +389,8 @@ Values: a comma separated list of up to 4 values is allowed, maximum 8 character
|
|
|
389
389
|
|
|
390
390
|
**Options**
|
|
391
391
|
`--mondsn` *(string)*
|
|
392
|
-
Specifies the monitor data set name where
|
|
393
|
-
Values: data set name pattern, maximum 46 characters. If not specified, your default
|
|
392
|
+
Specifies the monitor data set name where MAT saves the measurement (e.g. DEMO.MAT.MONITOR).
|
|
393
|
+
Values: data set name pattern, maximum 46 characters. If not specified, your default MAT monitor DSN pattern is applied.
|
|
394
394
|
|
|
395
395
|
`--moiuuid` *(string)*
|
|
396
396
|
Specifies the MOI UUID.
|
|
@@ -401,7 +401,7 @@ Specifies the MOI timestamp.
|
|
|
401
401
|
Values: maximum 12 characters, numbers only (0-9). If you use this parameter for command execution, the value cannot be blank.
|
|
402
402
|
|
|
403
403
|
`--listing` *(boolean)*
|
|
404
|
-
Activates automated registration of Cobol, C/C++, and Assembler program listings through
|
|
404
|
+
Activates automated registration of Cobol, C/C++, and Assembler program listings through Endevor® footprints. After completion of the measurement that you invoke with the '--listing' parameter, the MAT Analyze plug-in for Zowe CLI automatically retrieves the program listing that is associated with the monitored job and registers the listing with MAT. A registered program listing enhances the analysis possibilities of the 'codeview histogram' command and enables you to inspect the source code statements that are associated with specific modules and CSECTs.
|
|
405
405
|
|
|
406
406
|
**Profile Options**
|
|
407
407
|
`--mat-profile` | `--mat-p` (string)
|
|
@@ -434,7 +434,7 @@ $ zowe mat profile list [options]
|
|
|
434
434
|
The name of a (mat) profile to load for this command execution.
|
|
435
435
|
|
|
436
436
|
## MONITOR
|
|
437
|
-
The commands from the MONITOR group enable you to get monitor history and measurement analysis data from
|
|
437
|
+
The commands from the MONITOR group enable you to get monitor history and measurement analysis data from MAT.
|
|
438
438
|
|
|
439
439
|
**Usage**
|
|
440
440
|
```
|
|
@@ -666,13 +666,13 @@ Specifies the module name that you request the Histogram data for. You get the m
|
|
|
666
666
|
Specifies the CSECT name that you request the Histogram data for. You get the csect value from the 'codeview csect' command response. The CSECT name can be empty (e.g., --csect "TUNCOB01" or --module '""').
|
|
667
667
|
|
|
668
668
|
`--top` *(number)*
|
|
669
|
-
Specifies the maximum number of the top consuming CSECT activity locations that you want to obtain in the response (e.g., --top 5). If you specify --top 0, you get the list of all CSECT activity locations that
|
|
669
|
+
Specifies the maximum number of the top consuming CSECT activity locations that you want to obtain in the response (e.g., --top 5). If you specify --top 0, you get the list of all CSECT activity locations that MAT has detected during the measurement. The --top parameter is optional. Values: numbers between 0 and 300.
|
|
670
670
|
|
|
671
671
|
`--group` *(number)*
|
|
672
|
-
Specifies the histogram group size parameter that defines the resolution of the histogram. If you do not specify the group parameter, the group size defaults to 4 bytes (e.g., --group 32). If program listing is registered with
|
|
672
|
+
Specifies the histogram group size parameter that defines the resolution of the histogram. If you do not specify the group parameter, the group size defaults to 4 bytes (e.g., --group 32). If program listing is registered with MAT, the group parameter is ignored. The --group parameter is optional.
|
|
673
673
|
|
|
674
674
|
`--listing` *(boolean)*
|
|
675
|
-
Enables you to retrieve program listing details that pertain to the specific CSECT and statement. To use the listing retrieval option, you must install and configure the
|
|
675
|
+
Enables you to retrieve program listing details that pertain to the specific CSECT and statement. To use the listing retrieval option, you must install and configure the Endevor® Web Services and have the program listing for the specific measurement registered with MAT. The source code listing is retrieved through Endevor® footprints for Cobol, C/C++, and Assembler programs. The program listing file is downloaded to your local directory that you specified with the 'listingDir' parameter for your MAT configuration profile. When you request the histogram details with the '--listing' option, the 'histogram' command returns the additional 'listing' column that contains a reference to the program listing with the specific CSECT name, program type, line and column number that pertain to the requested CSECT and statement, for example, c:\listings\SA420LE.asm:382:51. If you use Visual Studio Code (VS Code) IDE, you can click on the reference in the command response in your VS Code terminal to navigate directly to the indicated source program location. The --listing parameter is optional.
|
|
676
676
|
|
|
677
677
|
**Profile Options**
|
|
678
678
|
`--mat-profile` | `--mat-p` *(string)*
|
|
@@ -756,7 +756,7 @@ Specifies the name of the profile that you want to analyze. When you specify the
|
|
|
756
756
|
Specifies the unique monitor number of the measurement.
|
|
757
757
|
|
|
758
758
|
`--top` *(number)*
|
|
759
|
-
Specifies the maximum number of the top consuming DB2 statements that you want to obtain in the response (e.g., --top 5). If you specify --top 0, you get the list of of all DB2 statements that
|
|
759
|
+
Specifies the maximum number of the top consuming DB2 statements that you want to obtain in the response (e.g., --top 5). If you specify --top 0, you get the list of of all DB2 statements that MAT has detected during the measurement. The --top parameter is optional. Values: numbers between 0 and 300.
|
|
760
760
|
|
|
761
761
|
|
|
762
762
|
**Profile Options**
|
|
@@ -815,8 +815,8 @@ $ zowe mat monitor db2 sqlstmt --profile TESTPROF --dbrm CUPBTSDY --stmtnum 464
|
|
|
815
815
|
```
|
|
816
816
|
|
|
817
817
|
|
|
818
|
-
# Uninstall the
|
|
819
|
-
To uninstall the
|
|
818
|
+
# Uninstall the MAT Analyze Plug-in for Zowe CLI
|
|
819
|
+
To uninstall the MAT Analyze plug-in for Zowe CLI, issue the following command:
|
|
820
820
|
```
|
|
821
821
|
$ zowe plugins uninstall @broadcom/mat-analyze-for-zowe-cli
|
|
822
822
|
```
|
|
@@ -42,7 +42,7 @@ const History_definition_1 = require("./history/History.definition");
|
|
|
42
42
|
const MonitorDefinition = {
|
|
43
43
|
name: "monitor",
|
|
44
44
|
summary: "Get monitor data",
|
|
45
|
-
description: "Get monitor history and measurement analysis data from
|
|
45
|
+
description: "Get monitor history and measurement analysis data from MAT.",
|
|
46
46
|
type: "group",
|
|
47
47
|
children: [Overview_definition_1.OverviewDefinition, CodeviewDefinition, DelayviewDefinition, History_definition_1.HistoryDefinition, DB2Definition]
|
|
48
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Monitor.definition.js","sourceRoot":"","sources":["../../../src/cli/monitor/Monitor.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,wEAAoE;AACpE,qEAAsE;AACtE,wEAAyE;AACzE,sDAAuD;AAEvD,qEAAiE;AACjE,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Monitor.definition.js","sourceRoot":"","sources":["../../../src/cli/monitor/Monitor.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,wEAAoE;AACpE,qEAAsE;AACtE,wEAAyE;AACzE,sDAAuD;AAEvD,qEAAiE;AACjE,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,6DAA6D;IAC1E,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,wCAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sCAAiB,EAAE,aAAa,CAAC;CAC5G,CAAC;AAEF,iBAAS,iBAAiB,CAAC"}
|
|
@@ -64,7 +64,7 @@ exports.HistogramDefinition = {
|
|
|
64
64
|
name: "group",
|
|
65
65
|
description: "Specifies the histogram group size parameter that defines the resolution of the histogram " +
|
|
66
66
|
"(e.g., --group 32). If you do not specify the group parameter, the group size value defaults to 4 bytes. " +
|
|
67
|
-
"If the source program listing is registered with
|
|
67
|
+
"If the source program listing is registered with MAT, the group size parameter is ignored. " +
|
|
68
68
|
"The --group parameter is optional. " +
|
|
69
69
|
"Lower values of the --group parameter result in more granular representation of the histogram data. " +
|
|
70
70
|
"Values: numbers between 2 and 999999.",
|
|
@@ -74,16 +74,16 @@ exports.HistogramDefinition = {
|
|
|
74
74
|
name: "top",
|
|
75
75
|
description: "Specifies the maximum number of the top consuming CSECT activity locations " +
|
|
76
76
|
"that you want to obtain in the response (e.g., --top 5). If you specify --top 0, " +
|
|
77
|
-
"you get the list of all CSECT activity locations that
|
|
77
|
+
"you get the list of all CSECT activity locations that MAT has detected during the measurement." +
|
|
78
78
|
"The --top parameter is optional. Values: numbers between 0 and 300.",
|
|
79
79
|
type: "number"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
name: "listing",
|
|
83
83
|
description: "Enables you to retrieve program listing details that pertain to the specific CSECT and statement. " +
|
|
84
|
-
"To use the listing retrieval option, you must install and configure the
|
|
85
|
-
"program listing for the specific measurement registered with
|
|
86
|
-
"through
|
|
84
|
+
"To use the listing retrieval option, you must install and configure the Endevor® Web Services and have the " +
|
|
85
|
+
"program listing for the specific measurement registered with MAT. The source code listing is retrieved " +
|
|
86
|
+
"through Endevor® footprints for Cobol, C/C++, and Assembler programs. The program listing file is downloaded " +
|
|
87
87
|
"to your local directory that you specified with the \'listingDir\' parameter in your MAT configuration profile. " +
|
|
88
88
|
"When you request the histogram details with the \'--listing\' option, the \'histogram\' command returns the " +
|
|
89
89
|
"additional \'listing\' column that contains a reference to the program listing with the specific CSECT name, " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,mBAAmB,GAAuB;IACnD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,gDAAgD;IAC7D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qEAAqE;gBAClF,yEAAyE;gBACzE,iFAAiF;YACjF,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oEAAoE;gBACjF,oGAAoG;gBACpG,oDAAoD;YACpD,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,4FAA4F;gBACzG,2GAA2G;gBAC3G,
|
|
1
|
+
{"version":3,"file":"Histogram.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,mBAAmB,GAAuB;IACnD,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,oBAAoB;IAC7B,WAAW,EAAE,gDAAgD;IAC7D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,oBAAoB;IACzC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qEAAqE;gBAClF,yEAAyE;gBACzE,iFAAiF;YACjF,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oEAAoE;gBACjF,oGAAoG;gBACpG,oDAAoD;YACpD,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,4FAA4F;gBACzG,2GAA2G;gBAC3G,6FAA6F;gBAC7F,qCAAqC;gBACrC,sGAAsG;gBACtG,uCAAuC;YACvC,IAAI,EAAE,eAAe;SACxB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,6EAA6E;gBAC1F,mFAAmF;gBACnF,gGAAgG;gBAChG,qEAAqE;YACrE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,oGAAoG;gBACjH,6GAA6G;gBAC7G,yGAAyG;gBACzG,+GAA+G;gBAC/G,kHAAkH;gBAClH,8GAA8G;gBAC9G,+GAA+G;gBAC/G,uGAAuG;gBACvG,qHAAqH;gBACrH,0GAA0G;gBAC1G,sCAAsC;YACtC,IAAI,EAAE,SAAS;SAClB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,6FAA6F;YAC1G,OAAO,EAAE,sDAAsD;SAClE;QACD;YACI,WAAW,EAAE,oGAAoG;gBACjH,8GAA8G;YAC9G,OAAO,EAAE,8EAA8E;SAC1F;QACF;YACK,WAAW,EAAE,+FAA+F;gBAC5G,0FAA0F;YAC1F,OAAO,EAAE,wEAAwE;SACpF;KACJ;CACJ,CAAC"}
|
|
@@ -53,6 +53,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
53
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54
54
|
if (params.arguments.listing === true) {
|
|
55
55
|
if ("footprint" in json) {
|
|
56
|
+
const endconerror = "Endevor Connection Error";
|
|
56
57
|
const matProfile = params.profiles.get("mat", true);
|
|
57
58
|
const endevorFootprint = json.footprint[0]; // 1. CLARIFY WITH GAS WHY THE JSON FOOTPRINT IS AN ARRAY, CAN WE HAVE MORE THAN 1 FOOTPRINT PER MODULE AND CSECT?
|
|
58
59
|
const elemDef = {
|
|
@@ -110,7 +111,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
110
111
|
catch (error) {
|
|
111
112
|
const exception = {
|
|
112
113
|
name: "HistogramException",
|
|
113
|
-
header:
|
|
114
|
+
header: endconerror,
|
|
114
115
|
message: "An error occurred while connecting to the endevor web services: \n" + error.message
|
|
115
116
|
};
|
|
116
117
|
throw exception;
|
|
@@ -123,16 +124,16 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
123
124
|
if (error instanceof imperative_1.RestClientError) {
|
|
124
125
|
const exception = {
|
|
125
126
|
name: "HistogramException",
|
|
126
|
-
header:
|
|
127
|
-
message: "Cannot download the listing file from
|
|
127
|
+
header: endconerror,
|
|
128
|
+
message: "Cannot download the listing file from Endevor: \n" + error.mDetails.additionalDetails
|
|
128
129
|
};
|
|
129
130
|
throw exception;
|
|
130
131
|
}
|
|
131
132
|
else {
|
|
132
133
|
const exception = {
|
|
133
134
|
name: "HistogramException",
|
|
134
|
-
header:
|
|
135
|
-
message: "An error occurred while connecting to the
|
|
135
|
+
header: endconerror,
|
|
136
|
+
message: "An error occurred while connecting to the Endevor web services: \n" + error.message
|
|
136
137
|
};
|
|
137
138
|
throw exception;
|
|
138
139
|
}
|
|
@@ -148,7 +149,6 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
148
149
|
}
|
|
149
150
|
});
|
|
150
151
|
}
|
|
151
|
-
// const stats = await fs.statSync(tofileName); // add because EndevorUtils.generalWriteFile cause exception which is not catch
|
|
152
152
|
tofileName += "\\" + endevorFootprint.element + "." + this.getExtension(endevorFootprint.type);
|
|
153
153
|
fs.writeFileSync(tofileName, responseEndevor.data[0], { encoding: "latin1" });
|
|
154
154
|
// THIS IS HOW YOU WRITE A FILE USING ENDEVOR
|
|
@@ -167,7 +167,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
167
167
|
const exception = {
|
|
168
168
|
name: "HistogramException",
|
|
169
169
|
header: "Endevor Data Error",
|
|
170
|
-
message: "No data in response from
|
|
170
|
+
message: "No data in response from Endevor."
|
|
171
171
|
};
|
|
172
172
|
throw exception;
|
|
173
173
|
}
|
|
@@ -207,7 +207,7 @@ class HistogramHandler extends AbstractAnalyzeHandler_1.default {
|
|
|
207
207
|
const exception = {
|
|
208
208
|
name: "HistogramException",
|
|
209
209
|
header: "Resource Access Error",
|
|
210
|
-
message: "The listing data set for the measurement is not registered with
|
|
210
|
+
message: "The listing data set for the measurement is not registered with MAT"
|
|
211
211
|
};
|
|
212
212
|
throw exception;
|
|
213
213
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Histogram.handler.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/codeview/Histogram/Histogram.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,wFAAiF;AACjF,qDAAkD;AAElD,iDAAgF;AAChF,yEAAyG;AAGzG,MAAqB,gBAAiB,SAAQ,gCAAkC;IAElE,aAAa;QACnB,OAAO,iBAAO,CAAC,2BAA2B,CAAC;IAC/C,CAAC;IAES,SAAS,CAAC,IAAS;QACzB,IAAI,MAAM,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QAC5D,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YAC3C,MAAM,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;SACjE;QACD,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,CAAC,EAAE;YAC3E,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC1B;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEe,SAAS,CAAC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EAAE,oBAAoB;4BAC1B,MAAM,EAAE,uBAAuB;4BAC/B,OAAO,EAAE,kCAAkC,GAAG,eAAe,CAAC,QAAQ;yBACzE,CAAC;wBACF,MAAM,SAAS,CAAC;qBACnB;oBACL,4MAA4M;iBAC3M;qBAAM,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,EAAE;oBACvD,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,SAAS,EAAE;wBACpC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;qBACpC;iBACJ;qBAAM;oBACH,MAAM,SAAS,GAAmB;wBAC9B,IAAI,EAAE,oBAAoB;wBAC1B,MAAM,EAAE,uBAAuB;wBAC/B,OAAO,EAAE,qEAAqE;qBACjF,CAAC;oBACF,MAAM,SAAS,CAAC;iBACnB;aACJ;YACD,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;KAAA;IACS,iBAAiB;QACvB,OAAO,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAC1D,CAAC;IAEO,YAAY,CAAC,QAAgB;QACjC,QAAQ,QAAQ,EAAE;YACd,KAAK,OAAO;gBACR,OAAO,KAAK,CAAC;YACjB,KAAK,QAAQ;gBACT,OAAO,KAAK,CAAC;YACjB,KAAK,KAAK;gBACN,OAAO,KAAK,CAAC;YACjB,KAAK,QAAQ;gBACT,OAAO,KAAK,CAAC;YACjB,KAAK,GAAG;gBACJ,OAAO,GAAG,CAAC;YACf,KAAK,KAAK;gBACN,OAAO,KAAK,CAAC;YACjB;gBACI,OAAO,KAAK,CAAC;SACpB;IACL,CAAC;CACJ;AAtMD,mCAsMC"}
|
|
@@ -50,7 +50,7 @@ exports.DB2ViewDefinition = {
|
|
|
50
50
|
name: "top",
|
|
51
51
|
description: "Specifies the maximum number of the top consuming DB2 statements " +
|
|
52
52
|
"that you want to obtain in the response (e.g., --top 5). If you specify --top 0, " +
|
|
53
|
-
"you get the list of all DB2 statements that
|
|
53
|
+
"you get the list of all DB2 statements that MAT has detected during the measurement." +
|
|
54
54
|
"The --top parameter is optional. Values: numbers between 0 and 300.",
|
|
55
55
|
type: "number"
|
|
56
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DB2View.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/db2/db2view/DB2View.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,iBAAiB,GAAuB;IACjD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,8CAA8C;IAC3D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,kBAAkB;IACvC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,mEAAmE;gBAChF,mFAAmF;gBACnF,
|
|
1
|
+
{"version":3,"file":"DB2View.definition.js","sourceRoot":"","sources":["../../../../../src/cli/monitor/db2/db2view/DB2View.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,QAAA,iBAAiB,GAAuB;IACjD,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,8CAA8C;IAC3D,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS,GAAG,kBAAkB;IACvC,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8DAA8D;gBAC3E,iFAAiF;gBACjF,+BAA+B;YAC/B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,mEAAmE;gBAChF,mFAAmF;gBACnF,sFAAsF;gBACtF,qEAAqE;YACrE,IAAI,EAAE,QAAQ;SACjB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,aAAa;SACzB;QACD;YACI,WAAW,EAAE,0EAA0E;gBACvF,yDAAyD;YACzD,OAAO,EAAE,4BAA4B;SACxC;KACJ;CACJ,CAAC"}
|
|
@@ -40,7 +40,7 @@ const ListProfile_definition_1 = require("./listprofile/ListProfile.definition")
|
|
|
40
40
|
const ProfileDefinition = {
|
|
41
41
|
name: "profile",
|
|
42
42
|
summary: "Manage monitor profiles",
|
|
43
|
-
description: "Create, invoke, and list
|
|
43
|
+
description: "Create, invoke, and list MAT monitor profiles.",
|
|
44
44
|
type: "group",
|
|
45
45
|
children: [InvokeProfile_definition_1.InvokeDefinition, CreateProfile_definition_1.CreateDefinition, ListProfile_definition_1.ListProfileDefinition]
|
|
46
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.definition.js","sourceRoot":"","sources":["../../../src/cli/profile/Profile.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,gFAAqE;AACrE,gFAAqE;AACrE,iFAA6E;AAC7E,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Profile.definition.js","sourceRoot":"","sources":["../../../src/cli/profile/Profile.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH;;;;;;;;;;;;GAYG;AACH,gFAAqE;AACrE,gFAAqE;AACrE,iFAA6E;AAC7E,MAAM,iBAAiB,GAAuB;IAC1C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,gDAAgD;IAC7D,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,CAAC,2CAAgB,EAAE,2CAAgB,EAAE,8CAAqB,CAAC;CACxE,CAAC;AAEF,iBAAS,iBAAiB,CAAC"}
|