|
Joel, Perhaps you should try using the remote wtr option built into OS/400. For example, say you already have an outq on remote SYSTEM2 named YOURLIB/YOUROUTQ that is attached to a printer. Create an output queue on SYSTEM1 as the orginating outq that targets an outq on SYSTEM2. CRTOUTQ OUTQ(MYLIB/MYOUTQ) RMTSYS(SYSTEM2) RMTPRTQ('YOURLIB/YOUROUTQ') AUTOSTRWTR(1). That's all folks. Anything that appears on MYOUTQ on SYSTEM2 will automatically be sent via SNADS to YOUROUTQ on SYSTEM2, no batteries required. Geez, sometimes OS/400 is so cool. Cheers, Peter -----Original Message----- From: Joel Kahsay [mailto:jkahsay@hotmail.com] Sent: Friday, July 14, 2000 5:00 AM To: RPG400-L@midrange.com Subject: Sending spoolfiles to diff remote outq HI All I am looking for some help in directing user spoolfiles to remote outq based on job user and program. I have created a dataq and currently use it to send one user spoolfles to one printer Ideally I would like to do it for all Users based on a table entry. How do I do that? If anyone has written the code already I would apreciate if you can share it ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- ********************************************************************************************************** Privileged / Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and please notify us immediately. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.