| If the connect fail the entire job should fail, unless you use "ignore errors" property.  The most simple solution is to code something like the following  OnErrorGoto NO_CONNECT DatabaseConnect ...
 OnErrorStop ... main job logic here
 Exit
 NO_CONNECT: // connection failed
 MailSend ... or whatever action is appropriete here
 : Hello,  : Is any way to check the DatabaseConnect return value? : For example,
 : we had a sybase server problem and  : our jobs ran without any errors.  : In the case above we like to recieve error code.  : Thanks, : Gennadiy.
 
 
 |