Unable to retrieve a MAT measurement via the Zowe interface
search cancel

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 i is 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

 

Environment

Release : 12.0

Component : MAINFRAME APPLICATION TUNER

Cause

Java needs at least 200Mb of storage and the MAT started task has an REGION SIZE =32M by default specified.

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.