SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Error generated with SET statement following l

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Error generated with SET statement following l
Author Message
Greg Morris



Joined: 24 May 2002
Posts: 26

Post Error generated with SET statement following label Reply with quote

We have seen with version 3.2.4 that if we have a SET statement immediately following an error handling label LABEL. The error msg is "An error occurred while executing 24x7 script.".

This JAL script demos the problem:
//
Dim (msg, string, "Initial strFooBar value.")

onerrorgoto SetLabel
raiseerror 1
goto End

SetLabel:
set msg, "Hello World!"
messagebox msg

End:
//

Fri Jun 21, 2002 6:00 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Error generated with SET statement following l Reply with quote

I was able to reproduce this bug. Thanks for the input.

As a workaround for now, please put some dymmy statement before the SET
For example,

: //
: Dim (msg, string, "Initial strFooBar value.")
:
: onerrorgoto SetLabel
: raiseerror 1
: goto End
:
: SetLabel:
: Dim dummy, number
: set msg, "Hello World!"
: messagebox msg
:
: End:
: //

: We have seen with version 3.2.4 that if we have a SET statement immediately
: following an error handling label LABEL. The error msg is "An error
: occurred while executing 24x7 script.".

: This JAL script demos the problem: //
: Dim (msg, string, "Initial strFooBar value.")

: onerrorgoto SetLabel
: raiseerror 1
: goto End

: SetLabel: set msg, "Hello World!"
: messagebox msg

: End: //

Fri Jun 21, 2002 6:28 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.