|
Chuck, Try the QUSLJOB API. It's not as hard as it looks at first glance. Buck Calabro Aptis; Albany, NY > -----Original Message----- > From: Chuck Lewis > Sent: Tuesday, November 16, 1999 4:47 AM > To: MIDRANGE-L@midrange.com > Subject: Question on determining job(s) > > Hi Folks, > > I have created a routine that duplicates all spool files from our daily > Invoice run RIGHT after the job runs during the night because spool > files are getting deleted... Designated users print this stuff so they > have to have rights to it. I figure that duping it is the easiest way to > "secure it" and it takes virtually NO time. I have created an outfile > for the WRKJOB *SPLF command and can get JUST what I want, pass that to > a CL and dup the spool files somewhere secure... > > This works FINE when there is just ONE iteration of the INVOICE job, > which is NORMALLY the case. There are, however times when they will run > 2 (for different dates). HOW can I determine how many iterations of job > INVOICE there are on the system ? The WRKJOB command will issue CPI1157 > - Duplicate jobs found and SHOW this information on a screen where you > can of course select the one you want, but I need to be able to do this > under the covers and pick from this list. > > TIA ! > > Chuck > +--- | 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-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.