Previous Topic: OPSOF001 Event—Device Status ChangeNext Topic: OPSOF003 Event—Connectivity Command Accepted


OPSOF002 Event—Device Path Status Change

The OPSOF002 event indicates that a switch operation has resulted in a status change for one or more device paths. The API.TEXT environmental variable contains the details of the change.

This event has the following format:

OPSOF002  cmd  status  chpid  dev1  dev2
cmd

Identifies the name of the switch command that caused the status change.

Valid Values: BLOCK, UNBLOCK, CONNECT, DISCONNECT, ALLOW, PROHIBIT, SYNC, or ACTIVATE

status

Specifies the new status for the device paths. The status can be one of the following:

chpid

Specifies the ID of the channel path that changed status.

dev1

Specifies the device number for the first device to undergo a status change.

dev2

Specifies the device number for the last device to undergo a status change. When only a single device is affected, dev2 and dev1 will be the same.