SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
JAL error

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



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

Post JAL error Reply with quote
I've tried to email your support box but it bounced saying your mailbox is full.


Hi Softtree
This is a piece of JAL code I’m working on for error handling within a larger script library routine, it’s called by an onerrorgoto(logtheerror) statement. It validates ok but when I go to run it, it dies on the concatex line, reporting the calling error to the schedule.log, but not doing the addfdslog library routine or the mail send.

Cheers
Lee

******************
logtheerror:

onerrorstop

getlasterror (theerror)
concatex ("Error detected in 24x7 staging load for process ", process, " ", theerror, " current file and package ", currentfiletype, " ", currentpkg, " remaining files to check ", reffiles, theerror)

addfdslog(process, stepnumber, "ERROR", theerror)

MailSend( "XXX..XXX@XXX", "", "XXX..XXX@XXX", "***TEST****Staging run error found", theerror )
raiseerror("Error found and logged")
Sun Oct 30, 2011 9: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.