[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Setting Process Scheduler Status to Error
I have developed an SQR, which runs fine in SQRW and from a Custom Run
Control Panel.
Upon completion I successfully update the Process Scheduler to a 'Success'
Status via do Stdapi-Term
In certain circumstances I want to stop the SQR, see example below, but I'm
not sure how to update the Process Scheduler Status (to ERROR).
Example:
if $Pay_Confirm_Run = 'Y'
show 'Cannot Run Process, Payroll has already been confirmed.'
stop
end-if
Any help would be appreciated.
Thanks
Shawn R
Information Analyst
EDS Systemhouse Inc.
Shawn.Robinson@notes.osipc.can.eds.com