[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] SQR return-status



Let me explain my situation here.
we scheduled lot of SQR jobs thru Arcana scheduler. The scheduler just runs the 
Batch file in which all the SQR flags are set.
I have used -XCB flag for the purpose that I shouldn't get any windows on the 
server where these jobs are run.
I want to get an email when any job fails and there is a parameter in the 
scheduler saying that if the job fails it will automatically sends an email.
My problem is even if the job fails for any reason the scheduler is showing as 
the job is completed OK because of the fact that the SQR is not passing the 
right #return-status to the operating system (in this case the Arcana 
Scheduler).
In my SQR program I am saying STOP QUIET if I want the job to stop instead of 
using just STOP because of the fact that I don't want any window popping up on 
the server saying "Program stopped by user request."
To put it simple, I want the program to pass the error return-status to the 
scheduler whenever I am stopping the SQR for any reason.
Could anybody please help me on this.


Thanks,
Murali

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users