Previous Topic: Example: IMS Event NotificationNext Topic: Example: WebSphere MQ Event Notification


Example: TCP/IP Event Notification

This example format shows the first line of a TCP/IP event notification API rule.

)API CAGSVN0001

The available REXX variables for TCP/IP event notification are:

REXX Variable

Value

API.APPLICATION

SYSVIEW

API.VERSION

Current release

API.LEVEL

Service Pack/Build

API.ID

CAGSVN0001

API.COLOR

Alert color

  • 'x00' - Default
  • 'x01' - Green
  • 'x02' - Blue
  • 'x03' - Red
  • 'x04' - White
  • 'x05' - Pink
  • 'x06' - Yellow
  • 'x07' - Turquoise

API.GROUP

Variable metric group name

API.NAME

Variable metric name

API.DESCRIPTION

Variable metric description

API.TCPID

TCP/IP jobname of stack

API.RESOURCE

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

System name

8

02

Subsystem - 'TCP'

8

03

TCP/IP jobname of stack

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