 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
parameters of onerrorresumenext |
|
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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
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 |
|
 |
|
|
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
|
|
|