|
You can always setup an OUTQ that will send spool files to other systems. The spool files are sent when it is released. Here is what I have setup. To start it, run STRRMTWTR OUTQ(TRUST400) Work with Output Queue Description Queue: TRUST400 Library: QGPL Status: Writer active . . . . . . . . . . . : Y Writer name(s) if active . . . . . . : TRUST400 Output queue held . . . . . . . . . : N Maximum spooled file size: Number of pages . . . . . . . . . . : *NONE Starting time . . . . . . . . . . . : Ending time . . . . . . . . . . . . : Writers to autostart . . . . . . . . . : *NONE Display any file . . . . . . . . . . . : *YES Job separators . . . . . . . . . . . . : 0 Operator controlled . . . . . . . . . : *YES Order of files on queue . . . . . . . : *FIFO Data queue . . . . . . . . . . . . . . : *NONE Library . . . . . . . . . . . . . . : Authority to check . . . . . . . . . . : *DTAAUT Remote system . . . . . . . . . . . . : QTRUST400.xxx.xxx Remote printer queue . . . . . . . . . : QGPL/Qprints Queue for writer messages . . . . . . : QSYSOPR Library . . . . . . . . . . . . . . : *LIBL Connection type . . . . . . . . . . . : *IP Destination type . . . . . . . . . . . : *OS400 Host print transform . . . . . . . . . : *NO User data transform . . . . . . . . . : *NONE Library . . . . . . . . . . . . . . : Image configuration . . . . . . . . . : *NONE Destination options . . . . . . . . . : *NONE Print separator page . . . . . . . . . : *NO User defined option . . . . . . . . . : *NONE User defined object: Object . . . . . . . . . . . . . . . : *NONE Library . . . . . . . . . . . . . : Object type . . . . . . . . . . . . : User driver program . . . . . . . . . : *NONE Library . . . . . . . . . . . . . . : Spooled file ASP . . . . . . . . . . . : *SYSTEM Text description . . . . . . . . . . . : Transfer files to TRUST400 - QPRINTS \Vincent -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cozzi Sent: June 7, 2005 2:04 PM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Retrieve user output queue name Is SNDTCPSPLF an option? -Bob Cozzi www.RPGxTools.com If everything is under control, you are going too slow. - Mario Andretti -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of craigs@xxxxxxxxx Sent: Tuesday, June 07, 2005 12:47 PM To: rpg400-l@xxxxxxxxxxxx Subject: Retrieve user output queue name I am looking at creating a program to retrieve a user profile's output queue name. This would probably use QSYRUSRI or RTVUSRPRF and drill down for special values like *WRKSTN. In the cases of not found, it looks like it would go to the system value QPRTDEV. I am trying to create a replacement for SNDNETSPLF to the same system since SNDNETSPLF will be going away. SNDNETSPLF to a different system is not so popular even if at all used and is a different ballgame itself. We already have spool duplication in use but not where we specify a user's default output queue. What would be the general outline for drilling down to the output queue name? Has anyone already done this before? Thanks in advance! Craig Strong
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.