|
Bill, It depends, after putting the spoolfile in SAVE(*YES). If a job generates many spool files with the same name it will become difficult, as the data queue option does not supply the spoolfile number. You've only got job name, job user, job number and spool file name in the data from the data queue. So you can only process a spoolfile with a spoolfile number, or the special values *ONLY (this will fail) or *LAST. There is an alternative to use the List Spoolfiles-Retrieve Spoolfile Attributes-Move Spoolfile API's. Regards, Carel Teijgeler. *********** REPLY SEPARATOR *********** On 10-2-03 at 10:14 bill totz wrote: >I am currently working on a project which requires the caturing of spool >files and copying to a save queue for future archiving. I have setup a >data queue however I am unclear as to how this all works. I need to trigger my >pgm the second a spool hits the queue and copy over to the save queue-this >is due to the high volume of on demand printing my company does. The >problem is once the spool hits the queue it prints and is now gone. How do I >trigger my pgm once the spool arrives in the queue??
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.