Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 Events in 1 Handler?

Status
Not open for further replies.

mickfish

Technical User
Aug 28, 2003
16
US
I'm wondering if you can have 2 events in 1 handler or do you have to have 2 separate commands?

EVENT HANDLER
EVENT BROADCAST ANNOUNCEMENT RESPONSE FAIL: GIVE RAN Gen_Second_RAN
EVENT BROADCAST ANNOUNCEMENT RESPONSE FAIL: LOG "Access Ports Busy/Failed"
END HANDLER
 
I think I found that I can. Can anyone verify? I'm offsite and can't test and don't want to change all 50 scripts if it won't work. Thanks!


EVENT HANDLER
EVENT BROADCAST ANNOUNCEMENT RESPONSE FAIL: LOG "Access Ports Busy/Failed"
GIVE RAN Gen_Second_RAN
END HANDLER
 
Mickfish,
Tested you first script senario:

Error: In the Event Handler or Wait For Event statement, no event can be "handled" more than once.

Second one passed okay

Good Luck
Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top