× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Justin,

Execute this command to find your job:

WRKOBJLCK OBJ(put your host USER ID here) OBJTYPE(*USRPRF)

Those server jobs that service remote clients like ODBC and JDBC, place a
lock on your user profile, and the above command shows you the locks by job
on your user profile.

Mike

date: Tue, 08 Dec 2015 22:20:02 +0000
from: Justin Dearing <zippy1981@xxxxxxxxx>
subject: Executed QSYS2.QCMDEXC() in a loop in a cursor from JDBC.
Can't stop loop

Hello,

I wrote a cursor in SqlWorkbench/J. Generated some PASE commands with sql
string concatenation so I could loop through with a cursor and execute. It
failed terribly and the job won't die. WRKUSRJOB only shows my greenscreen
job as active and a bunch of OUTQ status jobs. So how do I find the job
created by the JDBC connection so I can kill it?


Justin


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.