|
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
JAL error |
|
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 |
|
|
|
|
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
|
|
|