@broadcom/mat-analyze-for-zowe-cli 3.0.1 → 4.0.0

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.
Files changed (262) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/LICENSE +2 -2
  3. package/README.md +298 -180
  4. package/lib/api/MATRest.d.ts +7 -2
  5. package/lib/api/MATRest.js +58 -14
  6. package/lib/api/error/HistogramError.js +1 -1
  7. package/lib/api/error/HttpError.d.ts +9 -0
  8. package/lib/api/error/HttpError.js +35 -0
  9. package/lib/api/request/ICreateProfile.js +1 -1
  10. package/lib/api/request/ICreateProfileRequest.js +1 -1
  11. package/lib/api/request/IInvokeProfile.js +1 -1
  12. package/lib/api/request/IInvokeProfileRequest.js +1 -1
  13. package/lib/api/response/IAdabas.d.ts +4 -0
  14. package/lib/api/response/{IListProfile.js → IAdabas.js} +2 -2
  15. package/lib/api/response/IAnalysis.js +1 -1
  16. package/lib/api/response/IAuth.js +1 -1
  17. package/lib/api/response/ICallStack.js +1 -1
  18. package/lib/api/response/ICallerid.js +1 -1
  19. package/lib/api/response/ICicstat.js +1 -1
  20. package/lib/api/response/ICodeview.js +1 -1
  21. package/lib/api/response/ICsect.js +1 -1
  22. package/lib/api/response/IDB2View.js +1 -1
  23. package/lib/api/response/IDML.js +1 -1
  24. package/lib/api/response/IDelayLocations.js +1 -1
  25. package/lib/api/response/IDelayviews.js +1 -1
  26. package/lib/api/response/IHistogram.js +1 -1
  27. package/lib/api/response/IHistory.js +1 -1
  28. package/lib/api/response/IIDMSModule.js +1 -1
  29. package/lib/api/response/IIDMSModuleDetail.js +1 -1
  30. package/lib/api/response/IIDMSTask.js +1 -1
  31. package/lib/api/response/IIMSSSAView.js +1 -1
  32. package/lib/api/response/IIMSStatement.js +1 -1
  33. package/lib/api/response/IIMSView.js +1 -1
  34. package/lib/api/response/IIMSViewDBDName.js +1 -1
  35. package/lib/api/response/IIMSViewPSBName.js +1 -1
  36. package/lib/api/response/IIMSViewRegion.js +1 -1
  37. package/lib/api/response/IMonitorList.js +1 -1
  38. package/lib/api/response/IOverview.js +1 -1
  39. package/lib/api/response/IProfileList.d.ts +1 -1
  40. package/lib/api/response/IProfileList.js +1 -1
  41. package/lib/api/response/IResponse.js +1 -1
  42. package/lib/api/response/ITranview.js +1 -1
  43. package/lib/cli/monitor/Monitor.definition.js +6 -6
  44. package/lib/cli/monitor/adabas/Adabas.definition.d.ts +2 -0
  45. package/lib/cli/monitor/adabas/Adabas.definition.js +65 -0
  46. package/lib/cli/monitor/adabas/Adabas.handler.d.ts +7 -0
  47. package/lib/cli/monitor/adabas/Adabas.handler.js +53 -0
  48. package/lib/cli/monitor/codeview/Codeview.definition.js +7 -4
  49. package/lib/cli/monitor/codeview/callerid/Callerid.definition.js +1 -1
  50. package/lib/cli/monitor/codeview/callerid/Callerid.handler.js +5 -2
  51. package/lib/cli/monitor/codeview/csect/Csect.definition.js +6 -6
  52. package/lib/cli/monitor/codeview/csect/Csect.handler.js +5 -2
  53. package/lib/cli/monitor/codeview/histogram/Histogram.definition.d.ts +16 -0
  54. package/lib/cli/monitor/codeview/histogram/Histogram.definition.js +49 -0
  55. package/lib/cli/monitor/codeview/histogram/csect/HistogramCsect.definition.d.ts +2 -0
  56. package/lib/cli/monitor/codeview/{Histogram/Histogram.definition.js → histogram/csect/HistogramCsect.definition.js} +19 -16
  57. package/lib/cli/monitor/codeview/histogram/csect/HistogramCsect.handler.d.ts +12 -0
  58. package/lib/cli/monitor/codeview/{Histogram/Histogram.handler.js → histogram/csect/HistogramCsect.handler.js} +43 -21
  59. package/lib/cli/monitor/codeview/histogram/ideal/HistogramIdeal.definition.d.ts +2 -0
  60. package/lib/cli/monitor/codeview/histogram/ideal/HistogramIdeal.definition.js +97 -0
  61. package/lib/cli/monitor/codeview/histogram/ideal/HistogramIdeal.handler.d.ts +8 -0
  62. package/lib/cli/monitor/codeview/histogram/ideal/HistogramIdeal.handler.js +56 -0
  63. package/lib/cli/monitor/codeview/histogram/natural/HistogramNatural.definition.d.ts +2 -0
  64. package/lib/cli/monitor/codeview/histogram/natural/HistogramNatural.definition.js +81 -0
  65. package/lib/cli/monitor/codeview/histogram/natural/HistogramNatural.handler.d.ts +8 -0
  66. package/lib/cli/monitor/codeview/histogram/natural/HistogramNatural.handler.js +56 -0
  67. package/lib/cli/monitor/codeview/ideal/Ideal.definition.d.ts +2 -0
  68. package/lib/cli/monitor/codeview/ideal/Ideal.definition.js +65 -0
  69. package/lib/cli/monitor/codeview/ideal/Ideal.handler.d.ts +7 -0
  70. package/lib/cli/monitor/codeview/ideal/Ideal.handler.js +53 -0
  71. package/lib/cli/monitor/codeview/module/Module.definition.js +1 -1
  72. package/lib/cli/monitor/codeview/module/Module.handler.js +5 -2
  73. package/lib/cli/monitor/codeview/natural/Natural.definition.d.ts +2 -0
  74. package/lib/cli/monitor/codeview/natural/Natural.definition.js +66 -0
  75. package/lib/cli/monitor/codeview/natural/Natural.handler.d.ts +7 -0
  76. package/lib/cli/monitor/codeview/natural/Natural.handler.js +53 -0
  77. package/lib/cli/monitor/db2/DB2.definition.js +1 -1
  78. package/lib/cli/monitor/db2/db2view/DB2View.definition.js +1 -1
  79. package/lib/cli/monitor/db2/db2view/DB2View.handler.js +5 -2
  80. package/lib/cli/monitor/db2/sqlview/SQLView.definition.js +1 -1
  81. package/lib/cli/monitor/db2/sqlview/SQLView.handler.js +5 -2
  82. package/lib/cli/monitor/delayview/Delayview.definition.js +1 -1
  83. package/lib/cli/monitor/delayview/address/Address.definition.js +1 -1
  84. package/lib/cli/monitor/delayview/address/Address.handler.js +5 -2
  85. package/lib/cli/monitor/delayview/delay/Delay.definition.js +1 -1
  86. package/lib/cli/monitor/delayview/delay/Delay.handler.js +5 -2
  87. package/lib/cli/monitor/history/History.definition.js +1 -1
  88. package/lib/cli/monitor/history/History.handler.js +6 -3
  89. package/lib/cli/monitor/idms/IDMS.definition.js +1 -1
  90. package/lib/cli/monitor/idms/dml/DML.definition.js +1 -1
  91. package/lib/cli/monitor/idms/dml/DML.handler.js +5 -2
  92. package/lib/cli/monitor/idms/module/IDMSModule.definition.js +1 -1
  93. package/lib/cli/monitor/idms/module/IDMSModule.handler.js +5 -2
  94. package/lib/cli/monitor/idms/task/IDMSTask.definition.js +1 -1
  95. package/lib/cli/monitor/idms/task/IDMSTask.handler.js +5 -2
  96. package/lib/cli/monitor/ims/IMS.definition.js +1 -1
  97. package/lib/cli/monitor/ims/dbdname/DBDName.definition.js +1 -1
  98. package/lib/cli/monitor/ims/dbdname/DBDName.handler.js +5 -2
  99. package/lib/cli/monitor/ims/imsview/IMSView.definition.js +1 -1
  100. package/lib/cli/monitor/ims/imsview/IMSView.handler.js +5 -2
  101. package/lib/cli/monitor/ims/psbname/PSBName.definition.js +1 -1
  102. package/lib/cli/monitor/ims/psbname/PSBName.handler.js +5 -2
  103. package/lib/cli/monitor/ims/region/Region.definition.js +1 -1
  104. package/lib/cli/monitor/ims/region/Region.handler.js +5 -2
  105. package/lib/cli/monitor/ims/ssa/SSA.definition.js +1 -1
  106. package/lib/cli/monitor/ims/ssa/SSA.handler.js +5 -2
  107. package/lib/cli/monitor/ims/statement/Statement.definition.js +1 -1
  108. package/lib/cli/monitor/ims/statement/Statement.handler.js +5 -2
  109. package/lib/cli/monitor/overview/Overview.definition.js +1 -1
  110. package/lib/cli/monitor/overview/Overview.handler.js +5 -2
  111. package/lib/cli/monitor/tranview/Tranview.definition.js +1 -1
  112. package/lib/cli/monitor/tranview/all/All.definition.js +1 -1
  113. package/lib/cli/monitor/tranview/all/All.handler.js +5 -2
  114. package/lib/cli/monitor/tranview/callerid/Callerid.definition.js +1 -1
  115. package/lib/cli/monitor/tranview/callerid/Callerid.handler.js +5 -2
  116. package/lib/cli/monitor/tranview/callstack/CallStack.definition.js +1 -1
  117. package/lib/cli/monitor/tranview/callstack/CallStack.handler.js +5 -2
  118. package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js +6 -6
  119. package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js +5 -2
  120. package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js +1 -1
  121. package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js +5 -2
  122. package/lib/cli/monitor/tranview/module/Module.definition.js +1 -1
  123. package/lib/cli/monitor/tranview/module/Module.handler.js +5 -2
  124. package/lib/cli/monitor/tranview/stat/Cicstat.definition.js +1 -1
  125. package/lib/cli/monitor/tranview/stat/Cicstat.handler.js +5 -2
  126. package/lib/cli/profile/Profile.definition.js +1 -1
  127. package/lib/cli/profile/create/CreateProfile.definition.js +1 -1
  128. package/lib/cli/profile/create/CreateProfile.handler.js +5 -2
  129. package/lib/cli/profile/invoke/InvokeProfile.definition.js +1 -1
  130. package/lib/cli/profile/invoke/InvokeProfile.handler.js +5 -2
  131. package/lib/cli/profile/listprofile/ListProfile.definition.js +1 -1
  132. package/lib/cli/profile/listprofile/ListProfile.handler.js +6 -3
  133. package/lib/cli/session/MATSession.js +1 -1
  134. package/lib/config/config.d.ts +24 -0
  135. package/lib/config/config.js +99 -0
  136. package/lib/handlers/AbstractAnalyzeHandler.js +5 -2
  137. package/lib/handlers/AbstractGetHandler.js +5 -2
  138. package/lib/handlers/AbstractObjectDisplayHandler.js +5 -2
  139. package/lib/handlers/AbstractPostHandler.js +5 -2
  140. package/lib/handlers/AbstractProfileActionHandler.js +5 -2
  141. package/lib/handlers/AbstractRestHandler.d.ts +9 -0
  142. package/lib/handlers/AbstractRestHandler.js +117 -66
  143. package/lib/handlers/AbstractTableDisplayHandler.js +5 -2
  144. package/lib/healthCheck.Handler.d.ts +5 -36
  145. package/lib/healthCheck.Handler.js +30 -115
  146. package/lib/imperative.js +1 -1
  147. package/lib/index.js +1 -1
  148. package/package.json +49 -33
  149. package/lib/api/MATRest.js.map +0 -1
  150. package/lib/api/error/HistogramError.js.map +0 -1
  151. package/lib/api/request/ICreateProfile.js.map +0 -1
  152. package/lib/api/request/ICreateProfileRequest.js.map +0 -1
  153. package/lib/api/request/IInvokeProfile.js.map +0 -1
  154. package/lib/api/request/IInvokeProfileRequest.js.map +0 -1
  155. package/lib/api/response/IAnalysis.js.map +0 -1
  156. package/lib/api/response/IAuth.js.map +0 -1
  157. package/lib/api/response/ICallStack.js.map +0 -1
  158. package/lib/api/response/ICallerid.js.map +0 -1
  159. package/lib/api/response/ICicstat.js.map +0 -1
  160. package/lib/api/response/ICodeview.js.map +0 -1
  161. package/lib/api/response/ICsect.js.map +0 -1
  162. package/lib/api/response/IDB2View.js.map +0 -1
  163. package/lib/api/response/IDML.js.map +0 -1
  164. package/lib/api/response/IDelayLocations.js.map +0 -1
  165. package/lib/api/response/IDelayviews.js.map +0 -1
  166. package/lib/api/response/IHistogram.js.map +0 -1
  167. package/lib/api/response/IHistory.js.map +0 -1
  168. package/lib/api/response/IIDMSModule.js.map +0 -1
  169. package/lib/api/response/IIDMSModuleDetail.js.map +0 -1
  170. package/lib/api/response/IIDMSTask.js.map +0 -1
  171. package/lib/api/response/IIMSSSAView.js.map +0 -1
  172. package/lib/api/response/IIMSStatement.js.map +0 -1
  173. package/lib/api/response/IIMSView.js.map +0 -1
  174. package/lib/api/response/IIMSViewDBDName.js.map +0 -1
  175. package/lib/api/response/IIMSViewPSBName.js.map +0 -1
  176. package/lib/api/response/IIMSViewRegion.js.map +0 -1
  177. package/lib/api/response/IListProfile.d.ts +0 -4
  178. package/lib/api/response/IListProfile.js.map +0 -1
  179. package/lib/api/response/IMonitorList.js.map +0 -1
  180. package/lib/api/response/IOverview.js.map +0 -1
  181. package/lib/api/response/IProfileList.js.map +0 -1
  182. package/lib/api/response/IResponse.js.map +0 -1
  183. package/lib/api/response/ITranview.js.map +0 -1
  184. package/lib/cli/monitor/Monitor.definition.js.map +0 -1
  185. package/lib/cli/monitor/codeview/Codeview.definition.js.map +0 -1
  186. package/lib/cli/monitor/codeview/Histogram/Histogram.definition.d.ts +0 -2
  187. package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +0 -1
  188. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.d.ts +0 -11
  189. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +0 -1
  190. package/lib/cli/monitor/codeview/callerid/Callerid.definition.js.map +0 -1
  191. package/lib/cli/monitor/codeview/callerid/Callerid.handler.js.map +0 -1
  192. package/lib/cli/monitor/codeview/csect/Csect.definition.js.map +0 -1
  193. package/lib/cli/monitor/codeview/csect/Csect.handler.js.map +0 -1
  194. package/lib/cli/monitor/codeview/module/Module.definition.js.map +0 -1
  195. package/lib/cli/monitor/codeview/module/Module.handler.js.map +0 -1
  196. package/lib/cli/monitor/db2/DB2.definition.js.map +0 -1
  197. package/lib/cli/monitor/db2/db2view/DB2View.definition.js.map +0 -1
  198. package/lib/cli/monitor/db2/db2view/DB2View.handler.js.map +0 -1
  199. package/lib/cli/monitor/db2/sqlview/SQLView.definition.js.map +0 -1
  200. package/lib/cli/monitor/db2/sqlview/SQLView.handler.js.map +0 -1
  201. package/lib/cli/monitor/delayview/Delayview.definition.js.map +0 -1
  202. package/lib/cli/monitor/delayview/address/Address.definition.js.map +0 -1
  203. package/lib/cli/monitor/delayview/address/Address.handler.js.map +0 -1
  204. package/lib/cli/monitor/delayview/delay/Delay.definition.js.map +0 -1
  205. package/lib/cli/monitor/delayview/delay/Delay.handler.js.map +0 -1
  206. package/lib/cli/monitor/history/History.definition.js.map +0 -1
  207. package/lib/cli/monitor/history/History.handler.js.map +0 -1
  208. package/lib/cli/monitor/idms/IDMS.definition.js.map +0 -1
  209. package/lib/cli/monitor/idms/dml/DML.definition.js.map +0 -1
  210. package/lib/cli/monitor/idms/dml/DML.handler.js.map +0 -1
  211. package/lib/cli/monitor/idms/module/IDMSModule.definition.js.map +0 -1
  212. package/lib/cli/monitor/idms/module/IDMSModule.handler.js.map +0 -1
  213. package/lib/cli/monitor/idms/task/IDMSTask.definition.js.map +0 -1
  214. package/lib/cli/monitor/idms/task/IDMSTask.handler.js.map +0 -1
  215. package/lib/cli/monitor/ims/IMS.definition.js.map +0 -1
  216. package/lib/cli/monitor/ims/dbdname/DBDName.definition.js.map +0 -1
  217. package/lib/cli/monitor/ims/dbdname/DBDName.handler.js.map +0 -1
  218. package/lib/cli/monitor/ims/imsview/IMSView.definition.js.map +0 -1
  219. package/lib/cli/monitor/ims/imsview/IMSView.handler.js.map +0 -1
  220. package/lib/cli/monitor/ims/psbname/PSBName.definition.js.map +0 -1
  221. package/lib/cli/monitor/ims/psbname/PSBName.handler.js.map +0 -1
  222. package/lib/cli/monitor/ims/region/Region.definition.js.map +0 -1
  223. package/lib/cli/monitor/ims/region/Region.handler.js.map +0 -1
  224. package/lib/cli/monitor/ims/ssa/SSA.definition.js.map +0 -1
  225. package/lib/cli/monitor/ims/ssa/SSA.handler.js.map +0 -1
  226. package/lib/cli/monitor/ims/statement/Statement.definition.js.map +0 -1
  227. package/lib/cli/monitor/ims/statement/Statement.handler.js.map +0 -1
  228. package/lib/cli/monitor/overview/Overview.definition.js.map +0 -1
  229. package/lib/cli/monitor/overview/Overview.handler.js.map +0 -1
  230. package/lib/cli/monitor/tranview/Tranview.definition.js.map +0 -1
  231. package/lib/cli/monitor/tranview/all/All.definition.js.map +0 -1
  232. package/lib/cli/monitor/tranview/all/All.handler.js.map +0 -1
  233. package/lib/cli/monitor/tranview/callerid/Callerid.definition.js.map +0 -1
  234. package/lib/cli/monitor/tranview/callerid/Callerid.handler.js.map +0 -1
  235. package/lib/cli/monitor/tranview/callstack/CallStack.definition.js.map +0 -1
  236. package/lib/cli/monitor/tranview/callstack/CallStack.handler.js.map +0 -1
  237. package/lib/cli/monitor/tranview/csect/CsectDetail.definition.js.map +0 -1
  238. package/lib/cli/monitor/tranview/csect/CsectDetail.handler.js.map +0 -1
  239. package/lib/cli/monitor/tranview/delay/DelayDetail.definition.js.map +0 -1
  240. package/lib/cli/monitor/tranview/delay/DelayDetail.handler.js.map +0 -1
  241. package/lib/cli/monitor/tranview/module/Module.definition.js.map +0 -1
  242. package/lib/cli/monitor/tranview/module/Module.handler.js.map +0 -1
  243. package/lib/cli/monitor/tranview/stat/Cicstat.definition.js.map +0 -1
  244. package/lib/cli/monitor/tranview/stat/Cicstat.handler.js.map +0 -1
  245. package/lib/cli/profile/Profile.definition.js.map +0 -1
  246. package/lib/cli/profile/create/CreateProfile.definition.js.map +0 -1
  247. package/lib/cli/profile/create/CreateProfile.handler.js.map +0 -1
  248. package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +0 -1
  249. package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +0 -1
  250. package/lib/cli/profile/listprofile/ListProfile.definition.js.map +0 -1
  251. package/lib/cli/profile/listprofile/ListProfile.handler.js.map +0 -1
  252. package/lib/cli/session/MATSession.js.map +0 -1
  253. package/lib/handlers/AbstractAnalyzeHandler.js.map +0 -1
  254. package/lib/handlers/AbstractGetHandler.js.map +0 -1
  255. package/lib/handlers/AbstractObjectDisplayHandler.js.map +0 -1
  256. package/lib/handlers/AbstractPostHandler.js.map +0 -1
  257. package/lib/handlers/AbstractProfileActionHandler.js.map +0 -1
  258. package/lib/handlers/AbstractRestHandler.js.map +0 -1
  259. package/lib/handlers/AbstractTableDisplayHandler.js.map +0 -1
  260. package/lib/healthCheck.Handler.js.map +0 -1
  261. package/lib/imperative.js.map +0 -1
  262. package/lib/index.js.map +0 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ You can use the MAT Analyze plug-in for Zowe CLI to perform the following tasks:
11
11
  - Analyze the measurement data.
12
12
  Access the measurement data from Mainframe Application Tuner that is available to you in the CLI in the form of MAT analysis views.
13
13
  - Address performance issues.
14
- 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.
14
+ With the source program listing registered with MAT, users of Visual Studio Code (VS Code) IDE can obtain the Histogram measurement 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.
15
15
 
16
16
  # Table of Contents
17
17
 
@@ -32,33 +32,39 @@ You can use the MAT Analyze plug-in for Zowe CLI to perform the following tasks:
32
32
  - [delayview](#delayview)
33
33
  - [delay | de](#delay--de)
34
34
  - [address | ad](#address--ad)
35
- - [codeview](#codeview)
36
- - [module | mod](#module--mod)
37
- - [csect | cs](#csect--cs)
38
- - [histogram | hsg](#histogram--hsg)
39
- - [callerid | cil](#callerid--cil)
40
- - [db2](#db2)
41
- - [db2view | db2](#db2view--db2)
42
- - [sqlstmt | sql](#sqlstmt--sql)
43
- - [idms](#idms)
44
- - [dml | dml](#dml--dml)
45
- - [module | mod](#idms)
46
- - [task | ts](#task--ts)
47
- - [ims](#ims)
48
- - [dbdname | dbd](#dbdname--dbd)
49
- - [imsview | imsv](#imsview--imsv)
50
- - [psbname | psb](#psbname--psb)
51
- - [region | reg](#region--reg)
52
- - [ssa | ssa](#ssa--ssa)
53
- - [statement | stat](#statement--stat)
54
- - [tranview](#tranview)
55
- - [all | all](#all--all)
56
- - [module | mod](#tranview)
57
- - [callerid | cid](#callerid--cid)
58
- - [callstack | csk](#callstack--csk)
59
- - [csect | csd](#csect--csd)
60
- - [delay | dl](#delay--dl)
61
- - [stat | cis](#stat--cis)
35
+ - [adabas | ada](#adabas--ada)
36
+ - [CODEVIEW](#codeview--cv)
37
+ - [module | mod](#module--mod)
38
+ - [csect | cs](#csect--cs)
39
+ - [natural | nat](#natural--nat)
40
+ - [ideal | idl](#ideal--idl)
41
+ - [callerid | cil](#callerid--cil)
42
+ - [histogram](#histogram)
43
+ - [csect | cs](#histogram_csect--cs)
44
+ - [ideal | idl](#histogram_ideal--idl)
45
+ - [natural | nat](#histogram_natural--nat)
46
+ - [db2](#db2)
47
+ - [db2view | db2](#db2view--db2)
48
+ - [sqlstmt | sql](#sqlstmt--sql)
49
+ - [idms](#idms)
50
+ - [dml | dml](#dml--dml)
51
+ - [module | mod](#idms)
52
+ - [task | ts](#task--ts)
53
+ - [ims](#ims)
54
+ - [dbdname | dbd](#dbdname--dbd)
55
+ - [imsview | imsv](#imsview--imsv)
56
+ - [psbname | psb](#psbname--psb)
57
+ - [region | reg](#region--reg)
58
+ - [ssa | ssa](#ssa--ssa)
59
+ - [statement | stat](#statement--stat)
60
+ - [tranview](#tranview)
61
+ - [all | all](#all--all)
62
+ - [module | mod](#tranview)
63
+ - [callerid | cid](#callerid--cid)
64
+ - [callstack | csk](#callstack--csk)
65
+ - [csect | csd](#csect--csd)
66
+ - [delay | dl](#delay--dl)
67
+ - [stat | cis](#stat--cis)
62
68
  - [Uninstall the MAT Analyze Plug-in for Zowe CLI](#uninstall-the-mat-analyze-plug-in-for-zowe-cli)
63
69
 
64
70
  # Installation
@@ -69,8 +75,9 @@ You can install the MAT Analyze Plug-in for Zowe CLI from the Zowe Package.
69
75
 
70
76
  Before starting the installation of the MAT Analyze Plug-in for Zowe CLI, verify that you have:
71
77
 
72
- - Zowe CLI installed.
78
+ - Zowe version 3 (Zowe CLI version 8.x) is installed.
73
79
  - MAT database and the REST API installed, configured, and running.
80
+ > **Note:** To use the updated CLI commands, you must first upgrade the MAT REST API to the latest version by applying MAT PTF with the latest REST API updates. This applies to all updated and new commands in this release.
74
81
  - (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.
75
82
 
76
83
  ## Install the MAT Analyze Plug-in for Zowe CLI From Packages
@@ -330,10 +337,6 @@ Values: a comma separated list of up to 3 values is allowed, max. 64 characters
330
337
  `--schedule` _(string)_
331
338
  Specifies the name of the schedule that you want to apply to the monitor profile (maximum 8 characters).
332
339
 
333
- **Profile Options**
334
- `--mat-profile` | `--mat-p` _(string)_
335
- Specifies the name of a (mat) profile to load for this command execution.
336
-
337
340
  **Examples**
338
341
 
339
342
  - Create the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system:
@@ -393,10 +396,6 @@ Values: maximum 12 characters, numbers only (0-9). If you use this parameter for
393
396
  `--listing` _(boolean)_
394
397
  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.
395
398
 
396
- **Profile Options**
397
- `--mat-profile` | `--mat-p` (string)
398
- The name of a (mat) profile to load for this command execution.
399
-
400
399
  **Examples**
401
400
 
402
401
  - Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system:
@@ -433,10 +432,6 @@ Get the list of available monitor profiles.
433
432
  $ zowe mat profile list [options]
434
433
  ```
435
434
 
436
- **Profile Options**
437
- `--mat-profile` | `--mat-p` _(string)_
438
- The name of a (mat) profile to load for this command execution.
439
-
440
435
  ## MONITOR
441
436
 
442
437
  The commands from the MONITOR group enable you to get monitor history and measurement analysis data from MAT.
@@ -463,10 +458,6 @@ $ zowe mat monitor history [options]
463
458
  `--profile` _(string)_
464
459
  Specifies the name of the profile.
465
460
 
466
- **Profile Options**
467
- `--mat-profile` | `--mat-p` _(string)_
468
- The name of a (mat) profile to load for this command execution.
469
-
470
461
  **Examples**
471
462
 
472
463
  - Get the list of all available measurements that are stored in the history of the monitor profile TESTPROF:
@@ -498,10 +489,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
498
489
  `--mon_num` _(number)_
499
490
  Specifies the unique monitor number of the measurement.
500
491
 
501
- **Profile Options**
502
- `--mat-profile` | `--mat-p` _(string)_
503
- The name of a (mat) profile to load for this command execution.
504
-
505
492
  **Examples**
506
493
 
507
494
  - Get the measurement overview details for monitor number 5:
@@ -553,10 +540,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
553
540
  `--mon_num` _(number)_
554
541
  Specifies the unique monitor number of the measurement.
555
542
 
556
- **Profile Options**
557
- `--mat-profile` | `--mat-p` _(string)_
558
- The name of a (mat) profile to load for this command execution.
559
-
560
543
  **Examples**
561
544
 
562
545
  - Get the DelayView measurement details for monitor number 5:
@@ -595,36 +578,69 @@ Specifies the name of the profile that you want to analyze. When you specify the
595
578
  Specifies the unique monitor number of the measurement.
596
579
 
597
580
  `--majorcategory` _(string)_
598
- Specifies the major delay category name identified for the analysis item (e.g. `–-majorcategory "PC routine delay"`). You get the majorcategory value from the 'delayview delay' command response.
581
+ Specifies the major delay category name identified for the analysis item (e.g. `--majorcategory "PC routine delay"`). You get the majorcategory value from the 'delayview delay' command response.
599
582
 
600
583
  `--minorcategory` _(string)_
601
- Specifies the minor delay category name identified for the analysis item (e.g. `–-minorcategory "PC CALL"`). You get the minorcategory value from the 'delayview delay' command response.
602
-
603
- **Profile Options**
604
- `--mat-profile` | `--mat-p` _(string)_
605
- The name of a (mat) profile to load for this command execution.
584
+ Specifies the minor delay category name identified for the analysis item (e.g. `---minorcategory "PC CALL"`). You get the minorcategory value from the 'delayview delay' command response.
606
585
 
607
586
  **Examples**
608
587
 
609
588
  - Get the delay address details for majorcategory "PC routine delay" and minorcategory "PC CALL" for monitor number 5:
610
589
 
611
590
  ```
612
- $ zowe mat monitor delayview address --mon_num 5 –-majorcategory "PC routine delay" –-minorcategory "PC CALL"
591
+ $ zowe mat monitor delayview address --mon_num 5 --majorcategory "PC routine delay" --minorcategory "PC CALL"
613
592
  ```
614
593
 
615
594
  - Get the delay address details for majorcategory "PC routine delay" and minorcategory "PC CALL" for the latest monitor in the TESTPROF profile:
616
595
 
617
596
  ```
618
- $ zowe mat monitor delayview address --profile TESTPROF –-majorcategory "PC routine delay" –-minorcategory "PC CALL"
597
+ $ zowe mat monitor delayview address --profile TESTPROF --majorcategory "PC routine delay" --minorcategory "PC CALL"
619
598
  ```
620
599
 
621
600
  - Get the delay address details for majorcategory "PC routine delay" and minorcategory "PC CALL" for monitor number 5, with the specific MAT profile details defined:
622
601
 
623
602
  ```
624
- $ zowe mat monitor delayview address --mon_num 5 –-majorcategory "PC routine delay" –-minorcategory "PC CALL" --host "example.com" --port 12345 --user johndoe --password qwerty
603
+ $ zowe mat monitor delayview address --mon_num 5 --majorcategory "PC routine delay" --minorcategory "PC CALL" --host "example.com" --port 12345 --user johndoe --password qwerty
604
+ ```
605
+
606
+ ### adabas | ada
607
+
608
+ Get the Adabas measurement details.
609
+
610
+ **Usage**
611
+
612
+ ```
613
+ $ zowe mat monitor adabas [options]
625
614
  ```
626
615
 
627
- ### codeview
616
+ **Options**
617
+ `--profile` _(string)_
618
+ 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.
619
+
620
+ `--mon_num` _(number)_
621
+ Specifies the unique monitor number of the measurement.
622
+
623
+ **Examples**
624
+
625
+ - Get the Adabas measurement details for monitor number 5:
626
+
627
+ ```
628
+ $ zowe mat monitor adabas --mon_num 5
629
+ ```
630
+
631
+ - Get the Adabas measurement details for the latest monitor in the TESTPROF profile:
632
+
633
+ ```
634
+ $ zowe mat monitor adabas --profile TESTPROF
635
+ ```
636
+
637
+ - Get the Adabas measurement details for monitor number 5, with the specific MAT profile details defined:
638
+
639
+ ```
640
+ $ zowe mat monitor adabas --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
641
+ ```
642
+
643
+ ### codeview | cv
628
644
 
629
645
  The commands from the CODEVIEW group enable you to get the CodeView measurement details.
630
646
 
@@ -653,10 +669,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
653
669
  `--mon_num` _(number)_
654
670
  Specifies the unique monitor number of the measurement.
655
671
 
656
- **Profile Options**
657
- `--mat-profile` | `--mat-p` _(string)_
658
- The name of a (mat) profile to load for this command execution.
659
-
660
672
  **Examples**
661
673
 
662
674
  - Get the CodeView measurement details in Module mode for monitor number 5:
@@ -679,7 +691,7 @@ $ zowe mat monitor codeview module --mon_num 5 --host "example.com" --port 12345
679
691
 
680
692
  #### csect | cs
681
693
 
682
- Get the CodeView measurement details in Csect mode.
694
+ Get the CodeView measurement details in CSECT mode.
683
695
 
684
696
  **Usage**
685
697
 
@@ -694,38 +706,34 @@ Specifies the name of the profile that you want to analyze. When you specify the
694
706
  `--mon_num` _(number)_
695
707
  Specifies the unique monitor number of the measurement.
696
708
 
697
- **Profile Options**
698
- `--mat-profile` | `--mat-p` _(string)_
699
- The name of a (mat) profile to load for this command execution.
700
-
701
709
  **Examples**
702
710
 
703
- - Get the CodeView measurement details in Csect mode for monitor number 5:
711
+ - Get the CodeView measurement details in CSECT mode for monitor number 5:
704
712
 
705
713
  ```
706
714
  $ zowe mat monitor codeview csect --mon_num 5
707
715
  ```
708
716
 
709
- - Get the CodeView measurement details in Csect mode for the latest monitor in the TESTPROF profile:
717
+ - Get the CodeView measurement details in CSECT mode for the latest monitor in the TESTPROF profile:
710
718
 
711
719
  ```
712
720
  $ zowe mat monitor codeview csect --profile TESTPROF
713
721
  ```
714
722
 
715
- - Get the CodeView measurement details in Csect mode for monitor number 5, with the specific MAT profile details defined:
723
+ - Get the CodeView measurement details in CSECT mode for monitor number 5, with the specific MAT profile details defined:
716
724
 
717
725
  ```
718
726
  $ zowe mat monitor codeview csect --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
719
727
  ```
720
728
 
721
- #### histogram | hsg
729
+ #### natural | nat
722
730
 
723
- Get the Histogram details for the measurement.
731
+ Get the CodeView measurement details in Natural mode.
724
732
 
725
733
  **Usage**
726
734
 
727
735
  ```
728
- $ zowe mat monitor codeview histogram [options]
736
+ $ zowe mat monitor codeview natural [options]
729
737
  ```
730
738
 
731
739
  **Options**
@@ -735,49 +743,64 @@ Specifies the name of the profile that you want to analyze. When you specify the
735
743
  `--mon_num` _(number)_
736
744
  Specifies the unique monitor number of the measurement.
737
745
 
738
- `--module` _(string)_
739
- Specifies the module name that you request the Histogram data for. You get the module value from the 'codeview csect' or from the 'codeview module' command response. The module name can be empty (e.g., --module "IGZCPAC" or --module '""').
746
+ **Examples**
740
747
 
741
- `--csect` _(string)_
742
- 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 '""').
748
+ - Get the CodeView measurement details in Natural mode for monitor number 5:
743
749
 
744
- `--top` _(number)_
745
- 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.
750
+ ```
751
+ $ zowe mat monitor codeview natural --mon_num 5
752
+ ```
746
753
 
747
- `--group` _(number)_
748
- 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.
754
+ - Get the CodeView measurement details in Natural mode for the latest monitor in the TESTPROF
755
+ profile:
749
756
 
750
- `--listing` _(boolean)_
751
- 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.
757
+ ```
758
+ $ zowe mat monitor codeview natural --profile TESTPROF
759
+ ```
752
760
 
753
- **Profile Options**
754
- `--mat-profile` | `--mat-p` _(string)_
755
- The name of a (mat) profile to load for this command execution.
761
+ - Get the CodeView measurement details in Natural mode for monitor number 5, with the specific MAT
762
+ profile details defined:
756
763
 
757
- **Examples**
764
+ ```
765
+ $ zowe mat monitor codeview natural --mon_num 5 --host "example.com" --port 12345 --user johndoe
766
+ --password qwerty
767
+ ```
758
768
 
759
- - Get the Histogram details with the group size defaulting to 4 bytes for monitor number 5, CSECT name TUNCOB01, module name RUNCOB:
769
+ #### ideal | idl
770
+
771
+ Get the CodeView measurement details in Ideal mode.
772
+
773
+ **Usage**
760
774
 
761
775
  ```
762
- $ zowe mat monitor codeview histogram --mon_num 5 --csect "TUNCOB01" --module "RUNCOB"
776
+ $ zowe mat monitor codeview ideal [options]
763
777
  ```
764
778
 
765
- - Get the Histogram details for the latest monitor in the TESTPROF profile for CSECT name TUNCOB01, empty module name, with the group size value set to 32 bytes, and limit the number of returned rows to 5 top consumers:
779
+ **Options**
780
+ `--profile` _(string)_
781
+ 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.
782
+
783
+ `--mon_num` _(number)_
784
+ Specifies the unique monitor number of the measurement.
785
+
786
+ **Examples**
787
+
788
+ - Get the CodeView measurement details in Ideal mode for monitor number 5:
766
789
 
767
790
  ```
768
- $ zowe mat monitor codeview histogram --profile TESTPROF --csect "TUNCOB01" --module '""' --top 5 --group 32
791
+ $ zowe mat monitor codeview ideal --mon_num 5
769
792
  ```
770
793
 
771
- - Get the Histogram details for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB, limit the number of returned records to 5 top consumers, and request the listing details:
794
+ - Get the CodeView measurement details in Ideal mode for the latest monitor in the TESTPROF profile:
772
795
 
773
796
  ```
774
- $ zowe mat monitor codeview histogram --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --top 5 --listing
797
+ $ zowe mat monitor codeview ideal --profile TESTPROF
775
798
  ```
776
799
 
777
- - Get the Histogram details with the group size defaulting to 4 bytes for monitor number 5, CSECT name TUNCOB01, module name RUNCOB, with the specific MAT profile details defined:
800
+ - Get the CodeView measurement details in Ideal mode for monitor number 5, with the specific MAT profile details defined:
778
801
 
779
802
  ```
780
- $ zowe mat monitor codeview histogram --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --host "example.com" --port 12345 --user johndoe --password qwerty
803
+ $ zowe mat monitor codeview ideal --mon_num 5 --host "example.com" --port 12345 --user johndoe --password qwerty
781
804
  ```
782
805
 
783
806
  #### callerid | cil
@@ -803,10 +826,6 @@ Specifies the module name that you request the CallerID details for. You get the
803
826
  `--csect` _(string)_
804
827
  Specifies the CSECT name that you request the CallerID details data for. You get the csect value from the 'codeview csect' command response. The CSECT name can be empty (e.g., --csect "TUNCOB01" or --csect '""').
805
828
 
806
- **Profile Options**
807
- `--mat-profile` | `--mat-p` _(string)_
808
- The name of a (mat) profile to load for this command execution.
809
-
810
829
  **Examples**
811
830
 
812
831
  - Get the CallerID details for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB:
@@ -827,6 +846,177 @@ $ zowe mat monitor codeview callerid --profile TESTPROF --csect "TUNCOB01" --mo
827
846
  $ zowe mat monitor codeview callerid --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --host "example.com" --port 12345 --user johndoe --password qwerty
828
847
  ```
829
848
 
849
+ #### histogram
850
+
851
+ The commands from the HISTOGRAM group enable you to get the Histogram measurement details.
852
+
853
+ **Usage**
854
+
855
+ ```
856
+ $ zowe mat monitor codeview histogram <command>
857
+ ```
858
+
859
+ The following **commands** are available for the HISTOGRAM group:
860
+
861
+ ##### histogram_csect | cs
862
+ Get the Histogram measurement details in CSECT mode.
863
+
864
+ **Usage**
865
+
866
+ ```
867
+ $ zowe mat monitor codeview histogram csect [options]
868
+ ```
869
+
870
+ **Options**
871
+ `--profile` _(string)_
872
+ 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.
873
+
874
+ `--mon_num` _(number)_
875
+ Specifies the unique monitor number of the measurement.
876
+
877
+ `--module` _(string)_
878
+ Specifies the module name that you request the Histogram data for. You get the module value from the 'codeview csect' or from the 'codeview module' command response. The module name can be empty (e.g., --module "IGZCPAC" or --module '""').
879
+
880
+ `--csect` _(string)_
881
+ 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 '""').
882
+
883
+ `--top` _(number)_
884
+ 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.
885
+
886
+ `--group` _(number)_
887
+ 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.
888
+
889
+ `--listing` _(boolean)_
890
+ 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.
891
+
892
+ **Examples**
893
+
894
+ - Get the Histogram measurement details in CSECT mode with the group size defaulting to 4 bytes for monitor
895
+ number 5, CSECT name TUNCOB01, module name RUNCOB:
896
+
897
+ ```
898
+ $ zowe mat monitor codeview histogram csect --mon_num 5 --csect "TUNCOB01" --module "RUNCOB"
899
+ ```
900
+
901
+ - Get the Histogram measurement details in CSECT mode for the latest monitor in the TESTPROF profile for CSECT
902
+ name TUNCOB01, empty module name, with the group size value set to 32 bytes, and limit the number of returned rows to 5 top consumers:
903
+
904
+ ```
905
+ $ zowe mat monitor codeview histogram csect --profile TESTPROF --csect "TUNCOB01" --module '""' --top 5 --group 32
906
+ ```
907
+
908
+ - Get the Histogram measurement details in CSECT mode for monitor number 5, CSECT name TUNCOB01, and module name RUNCOB, limit the number of returned records to 5 top consumers, and request the listing details:
909
+
910
+ ```
911
+ $ zowe mat monitor codeview histogram csect --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --top 5 --listing
912
+ ```
913
+
914
+ - Get the Histogram measurement details in CSECT mode with the group size defaulting to 4 bytes for monitor number 5, CSECT name TUNCOB01, module name RUNCOB, with the specific MAT profile details defined:
915
+
916
+ ```
917
+ $ zowe mat monitor codeview histogram csect --mon_num 5 --csect "TUNCOB01" --module "RUNCOB" --host "example.com" --port 12345 --user johndoe --password qwerty
918
+ ```
919
+
920
+ ##### histogram_ideal | idl
921
+
922
+ Get the Histogram measurement details in Ideal mode.
923
+
924
+ **Usage**
925
+
926
+ ```
927
+ $ zowe mat monitor codeview histogram ideal [options]
928
+ ```
929
+
930
+ **Options**
931
+ `--profile` _(string)_
932
+ 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.
933
+
934
+ `--mon_num` _(number)_
935
+ Specifies the unique monitor number of the measurement.
936
+
937
+ `--system` _(string)_
938
+ Specifies the system ID that you request the Histogram data for. You get the system ID from the
939
+ 'codeview ideal' command response. This is mandatory option.
940
+
941
+ `--program` _(string)_
942
+ Specifies the program name that you request the Histogram data for. You get the program name from the
943
+ 'codeview ideal' command response. This is mandatory option.
944
+
945
+ `--objVersion` _(string)_
946
+ Specifies the object version that you request the Histogram data for. You get the object version from the
947
+ 'codeview ideal' command response. This is mandatory option.
948
+
949
+ `--srcVersion` _(string)_
950
+ Specifies the source version that you request the Histogram data for. You get the source version from the
951
+ 'codeview ideal' command response. This is mandatory option.
952
+
953
+ **Examples**
954
+
955
+ - Get the Histogram data in Ideal mode for monitor number 5, system ID '$ID', program name 'BAGTEST2', object version 'PRD', source version '001':
956
+
957
+ ```
958
+ $ zowe mat monitor codeview histogram ideal --mon_num 5 --system '$ID' --program 'BAGTEST2' --objVersion 'PRD' --srcVersion '001'
959
+ ```
960
+
961
+ - 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':
962
+
963
+ ```
964
+ $ zowe mat monitor codeview histogram ideal --profile TESTPROF --system '$ID' --program 'BAGTEST2' --objVersion 'PRD' --srcVersion '001'
965
+ ```
966
+
967
+ - Get the Histogram data in Ideal mode for monitor number 5, system ID '$ID', program name
968
+ 'BAGTEST2', object version 'PRD', source version '001' with the specific MAT profile details defined:
969
+
970
+ ```
971
+ $ 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'
972
+ ```
973
+
974
+ ##### histogram_natural | nat
975
+
976
+ Get the Histogram measurement details in Natural mode.
977
+
978
+ **Usage**
979
+
980
+ ```
981
+ $ zowe mat monitor codeview histogram natural [options]
982
+ ```
983
+
984
+ **Options**
985
+ `--profile` _(string)_
986
+ 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.
987
+
988
+ `--mon_num` _(number)_
989
+ Specifies the unique monitor number of the measurement.
990
+
991
+ `--library` _(string)_
992
+ Specifies the library name that you request the Histogram data for. You get the library name from the
993
+ 'codeview natural' command response. This is mandatory option.
994
+
995
+ `--routine` _(string)_
996
+ Specifies the routine name that you request the Histogram data for. You get the routine name from the
997
+ 'codeview natural' command response. This is mandatory option.
998
+
999
+ **Examples**
1000
+
1001
+ - Get the Histogram data in Natural mode for monitor number 5, library name 'CATAPPS', routine name 'IFEX1R':
1002
+
1003
+ ```
1004
+ $ zowe mat monitor codeview histogram natural --mon_num 5 --library 'CATAPPS' --routine 'IFEX1R'
1005
+ ```
1006
+
1007
+ - Get the Histogram data in Natural mode for the latest monitor in the TESTPROF profile for library name 'CATAPPS', routine name 'IFEX1R':
1008
+
1009
+ ```
1010
+ $ zowe mat monitor codeview histogram natural --profile TESTPROF --library 'CATAPPS' --routine 'IFEX1R'
1011
+ ```
1012
+
1013
+ - Get the Histogram data in Natural mode for monitor number 5, library name 'CATAPPS', routine
1014
+ name 'IFEX1R' with the specific MAT profile details defined:
1015
+
1016
+ ```
1017
+ $ zowe mat monitor codeview histogram natural --mon_num 5 --library 'CATAPPS' --routine 'IFEX1R' --host 'example.com' --port 12345 --user 'johndoe' --password 'qwerty'
1018
+ ```
1019
+
830
1020
  ### db2
831
1021
 
832
1022
  The commands from the DB2 group enable you to get the DB2 measurement details.
@@ -859,10 +1049,6 @@ Specifies the unique monitor number of the measurement.
859
1049
  `--top` _(number)_
860
1050
  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.
861
1051
 
862
- **Profile Options**
863
- `--mat-profile` | `--mat-p` _(string)_
864
- The name of a (mat) profile to load for this command execution.
865
-
866
1052
  **Examples**
867
1053
 
868
1054
  - Get the DB2View details for monitor number 5:
@@ -909,10 +1095,6 @@ Specifies the statement number that you request the SQL details for (e.g., `--st
909
1095
  `--totalsamps` _(number)_
910
1096
  Specifies the total number of samples taken for the requested statement (e.g., `--totalsamps 1`). You get the totalsamps value from the 'db2 db2view' command response.
911
1097
 
912
- **Profile Options**
913
- `--mat-profile` | `--mat-p` _(string)_
914
- The name of a (mat) profile to load for this command execution.
915
-
916
1098
  **Examples**
917
1099
 
918
1100
  - Get the DB2 SQL statement details for monitor number 5 for DBRM CUPBTSDY, statement number 464, with total number of taken samples 1:
@@ -962,10 +1144,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
962
1144
  `--mon_num` _(number)_
963
1145
  Specifies the unique monitor number of the measurement.
964
1146
 
965
- **Profile Options**
966
- `--mat-profile` | `--mat-p` _(string)_
967
- The name of a (mat) profile to load for this command execution.
968
-
969
1147
  **Examples**
970
1148
 
971
1149
  - Get the dml measurement details for the latest monitor in the TESTPROF profile:
@@ -1009,10 +1187,6 @@ Specifies the identifier of the Run Unit that you request the details for.
1009
1187
  `--linecmd` _(string)_
1010
1188
  Specifies the line command to be used for the row data.
1011
1189
 
1012
- **Profile Options**
1013
- `--mat-profile` | `--mat-p` _(string)_
1014
- The name of a (mat) profile to load for this command execution.
1015
-
1016
1190
  **Examples**
1017
1191
 
1018
1192
  - Get the idms details of the measurement for the latest monitor in the profile:
@@ -1050,10 +1224,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
1050
1224
  `--mon_num` _(number)_
1051
1225
  Specifies the unique monitor number of the measurement.
1052
1226
 
1053
- **Profile Options**
1054
- `--mat-profile` | `--mat-p` _(string)_
1055
- The name of a (mat) profile to load for this command execution.
1056
-
1057
1227
  **Examples**
1058
1228
 
1059
1229
  Get the idms measurement details in Task mode for monitor number 5:
@@ -1097,10 +1267,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
1097
1267
  `--mon_num` _(number)_
1098
1268
  Specifies the unique monitor number of the measurement.
1099
1269
 
1100
- **Profile Options**
1101
- `--mat-profile` | `--mat-p` _(string)_
1102
- The name of a (mat) profile to load for this command execution.
1103
-
1104
1270
  **Examples**
1105
1271
 
1106
1272
  - Get the IMS View details for monitor number 5:
@@ -1132,10 +1298,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
1132
1298
  `--mon_num` _(number)_
1133
1299
  Specifies the unique monitor number of the measurement.
1134
1300
 
1135
- **Profile Options**
1136
- `--mat-profile` | `--mat-p` _(string)_
1137
- The name of a (mat) profile to load for this command execution.
1138
-
1139
1301
  **Examples**
1140
1302
 
1141
1303
  - Get the IMS View DBDName details for monitor number 5:
@@ -1167,10 +1329,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
1167
1329
  `--mon_num` _(number)_
1168
1330
  Specifies the unique monitor number of the measurement.
1169
1331
 
1170
- **Profile Options**
1171
- `--mat-profile` | `--mat-p` _(string)_
1172
- The name of a (mat) profile to load for this command execution.
1173
-
1174
1332
  **Examples**
1175
1333
 
1176
1334
  - Get the IMS View PSBName details for monitor number 5:
@@ -1202,10 +1360,6 @@ Specifies the name of the profile that you want to analyze. When you specify the
1202
1360
  `--mon_num` _(number)_
1203
1361
  Specifies the unique monitor number of the measurement.
1204
1362
 
1205
- **Profile Options**
1206
- `--mat-profile` | `--mat-p` _(string)_
1207
- The name of a (mat) profile to load for this command execution.
1208
-
1209
1363
  **Examples**
1210
1364
 
1211
1365
  - Get the IMS View Region details for monitor number 5:
@@ -1246,10 +1400,6 @@ Specifies the database details for the specified monitor number or profile name.
1246
1400
  `--psbname` _(string)_
1247
1401
  Specifies the PSB name details for the specified monitor number or profile name.
1248
1402
 
1249
- **Profile Options**
1250
- `--mat-profile` | `--mat-p` _(string)_
1251
- The name of a (mat) profile to load for this command execution.
1252
-
1253
1403
  **Examples**
1254
1404
 
1255
1405
  - Get the IMS View SSA details for monitor number 5 with the specific MAT profile details defined:
@@ -1284,10 +1434,6 @@ Specifies the unique monitor number of the measurement.
1284
1434
  `--trancode` _(string)_
1285
1435
  Specifies the transaction name for specified monitor number or profile name.
1286
1436
 
1287
- **Profile Options**
1288
- `--mat-profile` | `--mat-p` _(string)_
1289
- The name of a (mat) profile to load for this command execution.
1290
-
1291
1437
  **Examples**
1292
1438
 
1293
1439
  - Get the IMS View Statement details for monitor number 5 with trancode:
@@ -1334,10 +1480,6 @@ Specifies the unique monitor number of the measurement.
1334
1480
  `--tran` _(string)_
1335
1481
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1336
1482
 
1337
- **Profile Options**
1338
- `--mat-profile` | `--mat-p` _(string)_
1339
- The name of a (mat) profile to load for this command execution.
1340
-
1341
1483
  **Examples**
1342
1484
 
1343
1485
  - Get the TranView measurement details for monitor number 5:
@@ -1372,10 +1514,6 @@ Specifies the unique monitor number of the measurement.
1372
1514
  `--tran` _(string)_
1373
1515
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1374
1516
 
1375
- **Profile Options**
1376
- `--mat-profile` | `--mat-p` _(string)_
1377
- The name of a (mat) profile to load for this command execution.
1378
-
1379
1517
  **Examples**
1380
1518
 
1381
1519
  - Get the idms details of the measurement for the latest monitor in the profile:
@@ -1416,10 +1554,6 @@ Specifies the unique monitor number of the measurement.
1416
1554
  `--tran` _(string)_
1417
1555
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1418
1556
 
1419
- **Profile Options**
1420
- `--mat-profile` | `--mat-p` _(string)_
1421
- The name of a (mat) profile to load for this command execution.
1422
-
1423
1557
  **Examples**
1424
1558
 
1425
1559
  - Get the caller details for monitor number 5:
@@ -1454,10 +1588,6 @@ Specifies the unique monitor number of the measurement.
1454
1588
  `--tran` _(string)_
1455
1589
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1456
1590
 
1457
- **Profile Options**
1458
- `--mat-profile` | `--mat-p` _(string)_
1459
- The name of a (mat) profile to load for this command execution.
1460
-
1461
1591
  **Examples**
1462
1592
 
1463
1593
  - Get the callstack details for monitor number 5:
@@ -1474,7 +1604,7 @@ $ zowe mat monitor tranview callstack --profile TESTPROF
1474
1604
 
1475
1605
  #### csect | csd
1476
1606
 
1477
- Get the CodeView details for transaction in Csect mode.
1607
+ Get the CodeView details for transaction in CSECT mode.
1478
1608
 
1479
1609
  **Usage**
1480
1610
 
@@ -1492,25 +1622,21 @@ Specifies the unique monitor number of the measurement.
1492
1622
  `--tran` _(string)_
1493
1623
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1494
1624
 
1495
- **Profile Options**
1496
- `--mat-profile` | `--mat-p` _(string)_
1497
- The name of a (mat) profile to load for this command execution.
1498
-
1499
1625
  **Examples**
1500
1626
 
1501
- - Get the CodeView details for transaction in Csect mode for monitor number 5:
1627
+ - Get the CodeView details for transaction in CSECT mode for monitor number 5:
1502
1628
 
1503
1629
  ```
1504
1630
  $ zowe mat monitor tranview csect --mon_num 5
1505
1631
  ```
1506
1632
 
1507
- - Get the CodeView details for transaction in Csect mode for the latest monitor in the TESTPROF profile:
1633
+ - Get the CodeView details for transaction in CSECT mode for the latest monitor in the TESTPROF profile:
1508
1634
 
1509
1635
  ```
1510
1636
  $ zowe mat monitor tranview csect --profile TESTPROF
1511
1637
  ```
1512
1638
 
1513
- - Get the CodeView details for transaction in Csect mode for the monitor number 5 with specific host:
1639
+ - Get the CodeView details for transaction in CSECT mode for the monitor number 5 with specific host:
1514
1640
 
1515
1641
  ```
1516
1642
  $ zowe mat monitor tranview csect --mon_num 5 --host \"example.com\" --port 12345 --user User1 --password qwerty
@@ -1536,10 +1662,6 @@ Specifies the unique monitor number of the measurement.
1536
1662
  `--tran` _(string)_
1537
1663
  Specifies the transaction activity. Tran = N/A is displayed for the activity that could not be attributed to a particular transaction in the address space.
1538
1664
 
1539
- **Profile Options**
1540
- `--mat-profile` | `--mat-p` _(string)_
1541
- The name of a (mat) profile to load for this command execution.
1542
-
1543
1665
  **Examples**
1544
1666
 
1545
1667
  - Get the DelayView measurement details of a transaction for monitor number 5:
@@ -1584,10 +1706,6 @@ Specifies the transaction activity. Tran = N/A is displayed for the activity tha
1584
1706
  Specifies the type of CICS Transaction.
1585
1707
  Default value: DISP
1586
1708
 
1587
- **Profile Options**
1588
- `--mat-profile` | `--mat-p` _(string)_
1589
- The name of a (mat) profile to load for this command execution.
1590
-
1591
1709
  **Examples**
1592
1710
 
1593
1711
  - Get the CICS statistic details for monitor number 5: