Previous Topic: API RulesNext Topic: Example: CICS Event Notification


Example: MVS Event Notification

This example format shows the first line of an MVS event notification API rule.

)API CAGSVX0001

The available REXX variables for MVS event notification are:

REXX Variable

Value

API.APPLICATION

SYSVIEW

API.VERSION

Current release

API.LEVEL

Service Pack/Build

API.ID

CAGSVX0001

API.COLOR

Alert color

  • x'00' - Default
  • x'01' - Green
  • x'02' - Blue
  • x'03' - Red
  • x'04' - White
  • x'05' - Pink
  • x'06' - Yellow
  • x'07' - Turquoise

API.GROUP

Variable metric group name

API.NAME

Variable metric name

API.DESCRIPTION

Variable metric description

API.RESOURCE

Associated resource

API.STATUS

Current status

API.VALUE

Current value

API.ELAPSED

Elapsed time since the last notification

API.ASID

Provides the ASID

API.JOBID

Provides the JES job ID

API.TEXT

Exception message text

API.TEXT has the following format:

Parameter

Contents

Max Length

01

System name

8

02

Subsystem - 'MVS'

8

03

Jobname

8

04

Metric group

8

05

Metric subgroup

8

06

Metric name

8

07

Resource

8

08

Old metric status

8

09

New metric status

8

10

Elapsed time since notification

8

11

Metric value

12

12

Exception warning limit

8

13

Exception problem limit

8

14

Exception rule type

6