SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
parameters of onerrorresumenext

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
parameters of onerrorresumenext
Author Message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post parameters of onerrorresumenext Reply with quote
So according to the help file, the JAL statement onerrorresumenext:

Instructs 24x7 Scheduler to ignore run-time script errors and continue script execution whenever a run-time error is detected. This error handling behavior applies only to the portion of the script whose execution follows OnErrorResumeNext statement.

What exactly does 'portion' mean? to the end of the script? To the next label? Just the next line?
Thu Feb 25, 2010 8:40 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
The accurate answer is "end of script" unless other OnErrorXXXX statements are executed after OnErrorResumeNext. Please note that the scope of this error handling is local to the script. It does not affect user-defined statements invoked from that script, nor does it affect other jobs executed via RunJob statement or other methods.
Thu Feb 25, 2010 9:14 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.