How about attaching a data queue to the outq, then having your program read
the data queue? The data queue entry includes all the job information and
spool file information.
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax
----- Original Message -----
From: Chuck Lewis <firstname.lastname@example.org>
Sent: Tuesday, November 16, 1999 1:46 AM
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 !
> | 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
> | Questions should be directed to the list owner/operator:
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
| 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: email@example.com
This mailing list archive is Copyright 1997-2019 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