MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2014

Re: QUSRWRK reset before backup



fixed

What problem are you trying to solve?
Just DB2 locks?

What jobs are causing these locks?
Just remote SQL requests?

How do you stop these remote SQL requests?
Is ENDTCPSVR SERVER(*DDM) sufficient?
Nope, that did not kill a iNav Run SQL Scripts session
Is ENDHOSTSVR *DATABASE sufficient?
Nope, that did not kill a iNav Run SQL Scripts session
How about ENDHOSTSVR SERVER(*DATABASE) ENDACTCNN(*DATABASE)
Yep that blew it to hell.
Followed that with STRHOSTSVR SERVER(*DATABASE).
That 'Run SQL Scripts' session couldn't get restarted. Even with SET
CONNECTION, CONNECT RESET, CONNECT TO, etc. Kept getting SQL state 08003.
Started a new 'Run SQL Scripts' session and that started just fine.
Ran another ENDHOSTSVR SERVER(*DATABASE) ENDACTCNN(*DATABASE). I could
not run a new 'Run SQL Script' session, until l ran the STRHOSTSVR
SERVER(*DATABASE).

So, instead of killing subsystems and whatnot, will that work?




Rob Berendt





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact