SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
OnErrorGoto...again

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
OnErrorGoto...again
Author Message
~Joe



Joined: 18 Dec 2003
Posts: 42

Post OnErrorGoto...again Reply with quote

In regards to my previous post with the on error goto statement.
We are having a problem with the OnErrorgoto statement working properly when it goes into the error routine. It
BOMBS out on a CONCATEX statement. When I put a wait command just before the concat it works fine: Below is the trace log results with and without the WAIT

125: Executing FILEOPEN("z:\aupft\tamtron\Automation\SearchFileTypes_Path.txt", "LineMode", "Read", "false", "0")

ERROR: "File not found"
397: GETLASTERROR

Return "File not found"
398: CONCATEX

At that point, the processing halts completely.

Here is the trace log for the same script, but with the Wait statement added.

125: FILEOPEN
125: Executing FILEOPEN("z:\aupft\tamtron\Automation\SearchFileTypes_Path.txt", "LineMode", "Read", "false", "0")

ERROR: "File not found"
397: GETLASTERROR

Return "File not found"
398: WAIT
398: Executing WAIT("2")
399: CONCATEX
399: Executing CONCATEX("AUTOMATION ERROR Processing Notification - Charge Import (", "TEST CHARGE IMPORTS SCRIPT", ") - File "", "", """, "")
400: CHOOSECASE
400: Executing CHOOSECASE("job_progress", "END_CHOOSE_CASE_JOB_PROGRESS")

Why does the script need to be paused for script execution to continue?
It is important that I am accountable for the reason the script needs the WAIT to process properly. The script will be performing a critical function. I must be able to account for any anomalies in the script processing to ensure I prevent them for occurring in other scripts and in this script at another location.

Thank you

~Joe

Mon Feb 02, 2004 12:42 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: OnErrorGoto...again Reply with quote

How about placing an YIELD or may be a couple of them instead of WAIT. Does it help?

: In regards to my previous post with the on error goto statement.
: We are having a problem with the OnErrorgoto statement working properly when
: it goes into the error routine. It
: BOMBS out on a CONCATEX statement. When I put a wait command just before the
: concat it works fine: Below is the trace log results with and without the
: WAIT

: 125: Executing
: FILEOPEN("z:\aupft\tamtron\Automation\SearchFileTypes_Path.txt",
: "LineMode", "Read", "false", "0")

: ERROR: "File not found"
: 397: GETLASTERROR

: Return "File not found"
: 398: CONCATEX

: At that point, the processing halts completely.

: Here is the trace log for the same script, but with the Wait statement added.

: 125: FILEOPEN
: 125: Executing
: FILEOPEN("z:\aupft\tamtron\Automation\SearchFileTypes_Path.txt",
: "LineMode", "Read", "false", "0")

: ERROR: "File not found"
: 397: GETLASTERROR

: Return "File not found"
: 398: WAIT
: 398: Executing WAIT("2")
: 399: CONCATEX
: 399: Executing CONCATEX("AUTOMATION ERROR Processing Notification -
: Charge Import (", "TEST CHARGE IMPORTS SCRIPT", ") -
: File "", "", """, "")
: 400: CHOOSECASE
: 400: Executing CHOOSECASE("job_progress",
: "END_CHOOSE_CASE_JOB_PROGRESS")

: Why does the script need to be paused for script execution to continue?
: It is important that I am accountable for the reason the script needs the
: WAIT to process properly. The script will be performing a critical
: function. I must be able to account for any anomalies in the script
: processing to ensure I prevent them for occurring in other scripts and in
: this script at another location.

: Thank you

: ~Joe

Mon Feb 02, 2004 4:06 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.