chgCwd  clCmd

Chapter 2: Bridged Functions

clAlert

Description

Generates a user-defined alert. Depending on how the cluster is configured, this could translate to a SNMP trap being generated, an Open Transport alert message being sent, both, or neither.

Syntax

clAlert (int id, 
      string reasonCode1,
      string reasonCode2,
      string reasonCode3,
      string reasonCode4,
      string reasonText);

where the id is user-defined. The value that is seen by the application receiving alert messages is [id+1000000].

Return value

None.

See also

For more information on configuring and using alerts, see Monitoring e-Biz Impact.





Copyright © 2005. Sybase Inc. All rights reserved. clCmd

View this book as PDF