Get the Histogram measurement details in Ideal mode.
Usage
zowe mat monitor codeview histogram ideal [options]
Options
-
--profile (string)
- Specifies the name of the profile that you want to analyze. When you specify the profile name, you get the data for the latest measurement within the specified profile.
-
--mon_num (number)
- Specifies the unique monitor number of the measurement.
-
--system (string)
- Specifies the system ID that you request the Histogram data for. You can get the system ID value from the 'codeview ideal' command response.
-
--program (string)
- Specifies the program name that you request the Histogram data for. You can get the program name from the 'codeview ideal' command response.
-
--objVersion (string)
- Specifies the object version that you request the Histogram data for. You can get the object version from the 'codeview ideal' command response.
-
--srcVersion (string)
- Specifies the source version that you request the Histogram data for. You can get the source version from the 'codeview ideal' command response.
MAT Profile Options
-
--protocol | -o (string)
-
Specifies the protocol defined for the MAT REST API server (http or https).
Default value: https
Allowed values: http, https
-
--host | -H (string)
- Specifies the hostname or IP address defined for the MAT REST API server (e.g. 127.0.0.0 or localhost).
-
--port | -P (number)
- Specifies the server port (e.g. 8080).
-
--user | -u (string)
-
--password | --pw (string)
-
--base-path | --bp (string)
- The base path for your API mediation layer instance. Specify this option to prepend the base path to all resources when making REST requests. Do not specify this option if you are not using an API mediation layer.
-
--reject-unauthorized | --ru (boolean)
-
--listingDir | --ldir (string)
- 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.
Profile Options
Base Connection Options
-
--token-type | --tt (string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value | --tv (string)
- The value of the token to pass to the API.
-
--cert-file (local file path)
-
The file path to a certificate file to use for authentication.
Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.
-
--cert-key-file (local file path)
- The file path to a certificate key file to use for authentication
-
--cert-account (string)
- The account name for PKCS 12 certificate stored in credential manager
Examples
-
Get the Histogram data in Ideal mode for monitor number 5,system ID '$ID', program name 'BAGTEST2', object version 'PRD', source version '001'.:
zowe mat monitor codeview histogram ideal --mon_num 5 --system '$ID' --program 'BAGTEST2' --objVersion 'PRD' --srcVersion '001'
-
Get the Histogram data in Ideal mode for the latest monitor in the TESTPROF profile for system ID '$ID', program name 'BAGTEST2', object version 'PRD', source version '001'.:
zowe mat monitor codeview histogram ideal --profile 'TESTPROF' --system '$ID' --program 'BAGTEST2' --objVersion 'PRD' --srcVersion '001'
-
Get the Histogram data in Ideal mode for monitor number 5,system ID '$ID', program name 'BAGTEST2', object version 'PRD', source version '001' with the specific MAT profile details defined.:
zowe mat monitor codeview histogram ideal --mon_num 5 --system '$ID' --program 'BAGTEST2' --objVersion 'PRD' --srcVersion '001' --host 'example.com' --port 12345 --user 'johndoe' --password 'qwerty'