|
There is a command that will tell you, its a plain and simple OS/400, no programming required. I was at home when I gave my first answer about using the assistence level of *BASIC, and I couldnt remember exactly which command it was. I check this out this morning, and while it does take a little longer to display on the screen, the information is worth the wait. WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC). -- Pete Massiello OS Solutions International Phone: (203)-744-7854 Ext 11. http://www.os-solutions.com mailto:pmassiello@os-solutions.com Vern Hamberg wrote: > > At 04:43 PM 9/1/97 +1000, James wrote: > > >Does anyone know a way of displaying jobs by the job q they were > >submitted into? > > > >I remember being told of a method in the distant past but can't for the > >life of me remember it. Tried WRKSBSJOB, WRKACTJOB. > > James, > > Although DSPJOB or WRKJOB and its derivatives do now show the JOBQ from > which a job was started, there has not been a convenient way to see all the > jobs, active and waiting, that came from one given JOBQ, listed by JOBQ. > I've always wanted this capability and finally found it in NEWS 3X/400, > January, 1995 issue, in an article entitled "Who's Jamming Up my Job Queue?". > > I'm not sure what I can share, since the code I've used is from their CD > reference library. It may be that they've made it available on their Web site > > http://www.news400.com > > The gist of it uses a number of APIs. I've not the details with me right > now, but E-mail me back and I'll try to give you more info. Meanwhile, look > into APIs for work management and job lists. > > Cheers, > > Vernon Hamberg > Systems Software Programmer > Old Republic National Title Insurance Company > 400 Second Avenue South > Minneapolis, MN 55401 > (612) 371-1111 x480 > root +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.