Does Mainframe Application Tuner have a batch interface JCL or REXX feature to schedule a monitor session?
search cancel

Does Mainframe Application Tuner have a batch interface JCL or REXX feature to schedule a monitor session?

book

Article ID: 113269

calendar_today

Updated On:

Products

Mainframe Application Tuner

Issue/Introduction

Does Mainframe Application Tuner (MAT) have a batch interface JCL or REXX  feature to schedule a monitor session?

Environment

Z/OS

Resolution

You have to use the TUNCALL API feature.
 
In the MAT manual see topic: Open API - TUNCALL
 
In addition to defining and invoking monitor sessions online with the TSO Client, you can start a session by using the Open Application Program Interface (Open API). This feature allows you to monitor an application when conditions are most critical, including:
 
When a critical performance threshold is exceeded
When a program is executed under specific conditions
If you are using a console automation tool
If you are using a program change control system
 
TUNCALL
 
The TUNCALL program is a single load module with several aliases that resides in hilevel.CEESPLD. For convenient access, copy TUNCALL into your Link Pack Area (LPA); remember to copy the alias definitions.
 
Use the TUNCALL program to define and start a monitoring session. You can invoke it in the following ways:
 
As a TSO command (from either REXX or CLIST EXECs)
As a batch job
As a called program