Previous Topic: Example: MVS Event NotificationNext Topic: Example: IMS Event Notification


Example: CICS Event Notification

This example format shows the first line of a CICS event notification API rule.

)API CAGSVY0001

The available REXX variables for CICS event notification are:

REXX Variable

Value

API.APPLICATION

SYSVIEW

API.VERSION

Current release

API.LEVEL

Service Pack/Build

API.ID

CAGSVY0001

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.RSCE1

Associated resource

API.RSCE2

Associated resource

API.STATUS

Current status

API.VALUE

Current value

API.ELAPSED

Elapsed time after notification

API.TEXT

Exception message text

API.TEXT has the following format:

Parameter

Contents

Max Length

01

Exception type

8

02

Metric group

8

03

Metric name

8

04

Resource 1

8

05

Resource 2

8

06

Old metric status

8

07

New metric status

8

08

'V ='

2

09

Metric value

12

10

'W='

2

11

Exception warning limit

8

12

'P='

2

13

Exception problem limit

8

14

Exception rule type

6

15

Elapsed time since notification

8

16

CICS jobname

8

17

Transaction ID

4

18

Transaction number

8

19

Terminal ID

4

20

User ID

8