DY Subsystem Auto Start/End

"Glen \(Home\)" <[email protected]>
Newsgroups gmane.comp.systems.as400.jbausers
Message-ID <[email protected]>
Hi everyone

I am having a problem with ending the background DY Processor  and taking down the DY subsystem in an overnight scheduled job.

Terminate job is submitted and a record is written to DYP10 to indicate terminate (CONO equals *HIVAL) and the DY job does terminate ok.

BUT the 'end' record is left behind in DYP10, so next time the Start job is called it reads this record and terminates immediately.

Looks to me like the DY subsystem is ending before the DY050 job has completed properly. I have a delay of 60 on the DY050 job, and a delay of 300 on the ENDSBS, so I'm perplexed.

Testing the end job without the ENDSBS does work ok!!

Any advice will be much appreciated.

Cheers
Glen
p.s. For all you Brits out there, it's Mother's Day UK style on Sunday!!
_______________________________________________
This is the System 21 Users (SYSTEM21) mailing list
To post a message email: SYSTEM21-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/system21
or email: SYSTEM21-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/system21.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.