× 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.



On 5/11/2011 12:12 PM, fbocch2595@xxxxxxx wrote:


Hi Folks, how about this one?

I want to copy all joblogs for a certain job to a PF in my library. There are hundreds of joblogs for the job. I've been manually using

CPYSPLF FILE(QPJOBLOG) TOFILE(ZPGMR97/FILEA) JOB(855542/FB/QPRTJOB) SPLNBR(487) MBROPT(*ADD)

I've still got hundreds to go.

Do you know of a fast way to do this or do you have a pgm that might help me out?

As always, any help is appreciated.

Hi Frank,
Two possibilities come immediately to mind.
1) Use API QUSLSPL to list the contents of the OUTQ.
2) Create another outq, this one with a data queue attached. Move the
spooled files into the new outq and the data queue will get a copy of
the information you need to process the spooled file.

The second idea is good for a more automated setup - as soon as a
spooled file comes ready in the new outq, it gets copied.

--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.