[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Process Monitor Status
- Subject: Re: Process Monitor Status
- From: Victor Loghin <vgl_ca@HOTMAIL.COM>
- Date: Fri, 8 Oct 1999 13:26:11 EDT
Madav,
You should not call Update-Process-Status, let stdapi-term do that.
Add the -debugx flag to your process definition. This will trace the calls
to the stdapi procedures. Make sure you see
"Entering PRCSAPI.SQC: Update-Process-Status"
in your log. If you do, add displays to prcsapi.sqc to see what the update
statement is doing.
Basically what happens in a Process Scheduler enabled program the following:
do stdapi-init
1) sets #prcs_run_status to processing
2) updates RUNSTATUS column of the PSPRCSRQST table with the value of
#prcs_run_status
3) sets #prcs_run_status to successful
program logic
do stdapi-term
1) if #return-status = {GOOD-OS-STATUS} (defined in setenv) then updates
RUNSTATUS column of the PSPRCSRQST table with the value of #prcs_run_status.
- otherwise the value is not updated and left as processing.
HTH,
Victor Loghin
VGL Consulting Inc.
----Original Message Follows----
From: "Madav ." <vmadav@HOTMAIL.COM>
Subject: Re: Process Monitor Status
Date: Fri, 8 Oct 1999 13:50:29 GMT
I called procedures stdapi-term, Update-Process-Status at the end of the
report.still the process monitor is showing 'processing'.Is there any other
mistake.
Please help me.
Thanks,
Madav
>
>At 12:35 AM 10/08/1999 +0000, you wrote:
> >Iam running SQR through Process schedular.It is giving expected
>results.But
> >process monitor status is not changing from 'Processing' to 'success',
>even
> >after the completion of running.
> >Can any body helps me to solve this problem.
> >Your help is appreciated.
> >
> >Thanks,
> >Madav
> >
> >______________________________________________________
> >Get Your Private, Free Email at http://www.hotmail.com
> >
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com