Unable to retrieve a MAT measurement via the Zowe interface

book

Article ID: 239178

calendar_today

Updated On:

Products

Mainframe Application Tuner

Issue/Introduction

When it's possible to invoke a measurement using ZOWE cli and trying to retrieve data via the MAT plugin gives the error message:

$ zowe mat monitor delayview delay --profile TEST 
errorlevel:  0
message:     Bad Request
messages: 
  - 
    Error:  No data is available for the measurement.
    Reason: No data is available for the given monitor number.
    Action: Provide a valid monitor number or try later.
error_level: 400

 

Cause

Java needs at least 200Mb of storage and the MAT stc has an REGIONSIZE =32M by default specified.

Environment

Release : 12.0

Component : MAINFRAME APPLICATION TUNER

Resolution

Change in MATUNER the region size to 0M and it should starting to work.
It seems the measurements are done and created, but not moved to the DB database and MAT because of this lack on storage.

XXCAMAT    EXEC PGM=TNSINIT,REGION=32M,        
XX             TIME=1440,                      
XX             PARM='&SERVERID,&TUNSSP,&START' 

Please change this to 0M in MATUNER..
Check the directory :

/u/users/cai/mat/dump

If you specified in your MATUNERJ jcl:

SET DBDIR='/u/users/cai/mat/db'

There are the actual measurements stored before included in the MAT DB.