Previous Topic: Analyze Monitor DataNext Topic: Add a Monitor Definition


Create a Monitor Definition

Before CA MAT begins monitoring a program, create a monitor definition that describes the target program and the observation criteria.

Follow these steps:

  1. Select Option 1 from the Primary Option Menu.

    The Monitor Definition panel opens.

    CA MAT --------------------------- Monitor Definition --------- Row 1 to 1 of 1 COMMAND ===> SCROLL ===> CSR Primary commands: ADD xxxx, STAtus Server ID: MATUNER Status: ACTIVE Line commands: S - Select A - Analyze Normal D - Delete I - Invoke AL - Analyze All DD - Delete w/dsns H - History AA - Analyze Active B - Batch Reports C - Copy AW - Analyze Wait V - CSV Reports X - Export Monitor Data J - Display Job Card LC Profile Status Schedule Runs Description Jobname Stepname| ________ __________ ________ ____ _________________________ ________ ________ >------------------------------------------------------------------------------- *********************************************************** End of Table *******

    The list of commands available on the Monitor Definition panel are as follows:

    ADD

    Adds the monitor definition to the Monitor Definition panel.

    Note: For more information, see Add a Monitor Definition.

    STAtus

    Displays information about the progress of the observation and sampling process that is associated with all monitor requests.

    Note: For more information, see Display Monitor Request Status.

    S - Select

    Lets you select an existing monitor definition you want to edit.

    Note: For more information, see Edit a Monitor Definition.

    I - Invoke

    Starts a monitor from the TSO client using the existing monitoring criteria.

    Note: For more information, see Invoke a Monitor from the TSO Client.

    H - History

    Displays the Monitor History panel, which lists information about each monitor session invoked for the monitor profile selected. From here, you might analyze the data that is gathered during any monitor session.

    For more information, see Display Monitor History.

    C - Copy

    Lets you create multiple versions of the same monitor definition without having to retype all the monitoring criteria.

    Note: For more information, see Copy a Monitor Definition.

    A - Analyze Normal

    Displays information that is not directly related to the target application is eliminated. Data is reported as follows:

    The following samples are eliminated from analysis: Non-dispatched (.NONDISP), No CPU available (.DISPWT), Processor Delay (.PROCDLY), Page wait (.PAGEWT), Swapped (.SWAPWT), and No activity (.OTHERWT). These samples are considered for the overall OverView activity percentages and runtimes.

    CodeView and related histograms are sorted based on Active percentages, not total percentages. The Visual field reflects the Active percent only. Wait samples are included. Percentages are calculated on total samples; all activity values have equal weight.

    AL - Analyze All

    Allows you to compare delays occurring when the program is executing in both active and wait states.

    Percentages are calculated based on all samples.

    AA - Analyze Active

    Allows you to analyze information and calculate the percentages based on samples where the program was actively using CPU. Samples that contain only wait information are filtered out, which allows you to make normalized CPU comparisons of program activity.

    AW - Analyze Wait

    Allows you to analyze information and calculate percentages based on samples where the program was in a wait state. Samples that contain only active information are filtered out which allows you to make normalized comparisons of program wait activity.

    D - Delete

    Removes the monitor definition and the monitor’s history but does not delete the associated monitor data sets.

    Note: For more information, see Delete a Monitor Definition.

    DD - Delete w/ dsns

    Deletes the data sets that were created by monitoring sessions under that definition and then deletes the monitor definition

    Note: For more information, see Delete a Monitor Definition.

    B - Batch Reports

    Lets you generate batch reports any time after you invoke the monitor and data collection has been completed.

    Note: For more information, see Submit a Job to Generate Batch Reports.

    V - CSV Reports

    Accesses the CSV Reporting panel that allows you to submit a batch job to create comma-separated value output of analysis reports for the selected profile. These reports can be imported for use with the Spreadsheet Converter.

    Note: For more information, see Create Spreadsheet Reports.

    J - Display Job Card

    Displays the batch reports job card that is associated with the selected Monitor profile.

    X - Export Monitor Data

    Creates an export file of the monitor data set suitable for electronic transmission. Use this command when sending monitor data to CA Technical Support.

    The fields on the Monitor Definition panel are described next.

    Profile

    Defines the profile name that is specified when you created the monitor definition.

    This field is also referred to as the Monitor Definition name.

    Status

    Displays the status of the monitor request.

    Status is refreshed each time you press Enter. Status contains one of the following values:

    Waiting

    Indicates that the request has been submitted to CA MAT but the target is not active. CA MAT is waiting for an opportunity to begin monitoring the target application.

    Active

    Indicates that theCA MAT is actively monitoring the indicated target. (Observations are being taken and samples are being collected.)

    Inactive

    Indicates that the monitor definition is available, but the Server Space has not been requested to begin monitoring.

    Delete

    Indicates that the request is no longer tracked by the Server Space. Output data is available in the monitor data set.

    Incomplete

    Indicates that the request is no longer tracked by the Server Space. The output data set is not found.

    Unknown

    Indicates that communications could not be established with the Server Space. The Server Space might need to be activated.

    Schedule

    Displays the name of an associated schedule for the monitor to run.

    Runs

    Displays the number of monitor invocations after the definition was created.

    This value is the number of data sets that are available in the Monitor History panel.

    Description

    Displays the text describing the monitor definition.

    Batch

    Indicates whether a preset series of reports are created in batch mode after the monitor is complete.

    Jobname

    Displays the name of the job to be monitored

  2. Scroll right to display the following fields:
    Procstep

    Displays the name of the procedure step to be monitored if the job step uses a cataloged or in-stream procedure.

    Stepname

    Displays the name of the job step to be monitored.

    If no cataloged procedure is used, displays the step name on the EXEC statement that invoked the program. If a cataloged procedure is used, displays the name of the step that invoked the procedure.

    Program

    Displays the name of the program on the JCL EXEC statement of the job to be monitored.

    Multi-Step Monitoring

    Indicates if the profile has multistep monitoring specified.

    Step Monitoring

    Indicates if the profile specifies that the entire job step is to be monitored.

    Date

    Displays the date of the last monitor to be analyzed.

    Time

    Displays the time of the last monitor to be analyzed.

    Monitor Dataset

    Displays the data set name of the file to monitor for each profile.

    This name generally contains variables. For a complete description, see Add a Monitor Definition.

    Actual Dataset

    Data set name of the monitor data set with variables substituted.

    TCB incl-1 to TCB incl-4

    Specifies that the tasks identified by these names are included in the monitor.

    No other tasks are monitored.

    TCB excl-1 to TCB excl-4

    Specifies that the tasks identified by these names are excluded from the monitor.

    All other tasks are monitored.

    Observation Interval

    Displays the number of milliseconds between observations.

    CA MAT calculates this number and adjusts it during the monitoring period.

    Observations

    Displays the number of observations requested.

    Elapsed

    Displays the amount of time in seconds that the job step is monitored.

    Strt Delay

    Displays the delay in seconds for startup of the monitor request.

    You might want to specify a delay to skip monitoring the initialization functions within the job step.

    Monitors per job step execution

    Displays the number of monitoring sessions to be started for a single execution of a job step.

    When a monitor session reaches its target observation count, CA MAT closes the monitor data set, and continues monitoring with a new monitor data set. When a monitor data set is closed, it is available for analysis. This process is known as successive monitoring.

    The number is specified on the Job Monitoring Criteria panel, which appears from the All Jobs field of the Monitoring Criteria panel.

    To specify successive monitoring, enter a value equal to or greater than 1 in the following field:

    Run up to 0 monitors per job step execution

    Number of job step runs to monitor

    Displays the number of times a monitor is run for a job step.

    This field allows for multiple monitor runs for only one invocation.

    The number is specified on the "Job Monitoring Criteria" panel (which appears from the All Jobs field of the Monitoring Criteria panel).

    To specify recurrent monitoring, enter a value equal to or greater than 1 in the following field:

    Monitor this job the next 0 times it runs

    Strt Window

    Displays the start of a time range during which the monitor request is valid.

    If the job step to be monitored ends before the start time, the monitor does not start. If the job step is running at the start time, monitoring begins at that time.

    End Window

    Displays the end time of a time range during which the monitor request is. valid

    If the job step to be monitored does not start before the end time, the monitor request is canceled.

    DB exit

    Displays the name of the exit routine for monitoring non-DB2 databases.

    4GL exit

    Displays the name of the exit routine for monitoring 4GL languages.

    Target 1- Target 4

    Specifies the target systems in a sysplex where a job is monitored.

    Blank specifies local system only. "*" specifies all systems in the sysplex.

    Trans. 1 - Trans. 4

    Specifies that the transaction codes are to be monitored for IMS and CICS jobs only.

    Term 1 - Term 4

    Specifies that the terminal IDs are to be monitored for IMS and CICS jobs only.

    User 1 - User 4

    Specifies that the user IDs to be monitored for IMS and CICS jobs only.

    EXPLAIN SQL

    Specifies that information about the DB2 access path selection is to be collected for DB2 SQL statements.

    Use DB2 Catalog

    Specifies whether the plan or package statements are to be extracted from the DB2 catalog or directly extracted from the DB2 control blocks when monitoring a DB2 application.

    OLTP

    Displays the type of transaction processing system, if any, that was monitored for IMS and CICS jobs only.

    Tasklib

    Specifies the name of an alternate DDNAME from which the monitored program loads other programs.

    CA MAT requires the location of program load modules to obtain the information required to display CSECT offsets during analysis.

    WAS Expert

    Specifies whether to enable PSW sampling when a WebSphere application server application is monitored.

    Specify Y to enable this feature, N to disable it.

    Disabling this feature reduces the amount of data collected. CA MAT analysis is limited to WebSphere data only.

    Created By

    Defines the TSO User ID of the creator of this monitor definition.

    Date Created

    Defines the date on which this monitor definition was created.

    Time Created

    Defines the time at which this monitor definition was created.

    Changed By

    Defines the TSO User ID of the last person to change this monitor definition.

    Date Changed

    Defines the date on which this monitor definition was last changed.

    Time Changed

    Defines the time at which this monitor definition was last changed.