|
If you just want to see active jobs, you can use WRKACTJOB JOB(jobname). Once the list is displayed, option 5 lets you view the desired job. When you're done, <enter> or <f3> will take you back to the list of jobs. If you need to see JOBQ and OUTQ jobs as well, you'll probably have to roll your own or see if someone has already done it and can share. If you want to roll your own, the QUSLJOB API is a good starting point. Hope this helps! Richard -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of D.BALE@handleman.com Sent: Thursday, April 19, 2001 1:08 PM To: MIDRANGE-L@midrange.com Subject: WRKJOB JOBNAME (w/o userID&job#) Has anyone beat their head against the wall on this problem? You use WRKJOB JOBNAME (without the user ID and job number) and you get a list of jobs. Your only option is to select ONE job. You view the ONE job and exit out of that particular WRKJOB display, returned to the command line, having to re-run WRKJOB JOBNAME again, trying to remember the last job# you viewed if you're attempting to look at the next job in sequence. Jeez, one woulda thought that IBM would either let you select more than ONE job from the multiple jobs display *or* at least returned you to the selection screen after viewing the previously selected job. Am I missing something here? Is there another command that does this? Homegrown & willing to share? If not, is there an API I could use so I could roll my own? - Dan Dan Bale says "Ban Dale!" IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 D.Bale@Handleman.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | 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.