SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Failing a job with JAL

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Failing a job with JAL
Author Message
Derek Yung



Joined: 18 Apr 2000
Posts: 15

Post Failing a job with JAL Reply with quote


Does anyone know if there's a graceful way to "exit" a job within JAL and have 24x7 recognize it as an error? I want to have an operator who's looking at the HTML reports to be able to see a job failure.

I can workaround this by putting in some bogus command in the error handling portion of the code, but then the error is not indicative of what really happened.

Derek

Tue May 16, 2000 4:34 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6508

Post Re: Failing a job with JAL Reply with quote

Probably the most simple way is to dynamically write desired commands/text to a text file then call JobRun to invoke another job that executes that file using @SCRIPT: tag. This way you can build some sort of dynamic JAL script for error handling. Also check out JobCreate and JobModify statements as they also can be used to create/modify jobs dynamicaly.

: Does anyone know if there's a graceful way to "exit" a job within
: JAL and have 24x7 recognize it as an error? I want to have an operator
: who's looking at the HTML reports to be able to see a job failure.

: I can workaround this by putting in some bogus command in the error handling
: portion of the code, but then the error is not indicative of what really
: happened.

: Derek

Tue May 16, 2000 10:46 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.