fhg
Volume 6, Number 28 -- July 26, 2006

Another Super-Easy Way to Copy a Spooled File from One Machine to Another

Published: July 26, 2006

Hey, Distinguished IT Pros:

Did you catch the tip A Super-Easy Way to Copy a Spooled File from One Machine to Another that appeared in last week's issue of Four Hundred Guru? Well, gradford did, and he (she?) contributed another easy method to move spool files from one AS/400 (iSeries, i5) system to another. Here it is:


We have a lot of remote AS/400s. To handle the printing issue, we create remote output queues, each one of which points to an out queue on another AS/400. Any spool file that goes into the remote out queue will automatically be sent to the out queue on the target system.

The following example works when your AS/400s are on a TCP/IP network. If you are dialup, SNADS is your only option.

The RMTPRTQ is the remote print queue on the target system.

CRTOUTQ OUTQ(QUSRSYS/TESTOUTQ)
   RMTSYS(SYSTEMNAME)
   RMTPRTQ('library/outqname')
   CNNTYPE(*IP)
   TRANSFORM(*NO)
   TEXT('Test remote OUTQ')

--gradford


To which, I'll add a SNADS example:

CRTOUTQ OUTQ(QUSRSYS/TESTOUTQ)     
   RMTSYS(SYSTEMNAME)         
   RMTPRTQ('library/outqname')
   CNNTYPE(*SNA)
   TEXT('Test remote OUTQ')

If you haven't visited the IT Jungle Web Forums lately (or at all), drop in and join the fun.

--Ted



Sponsored By
ADVANCED SYSTEMS CONCEPTS

SEQUEL can be used for virtually ALL data access functions on the iSeries.

A Windows-based user interface makes it easy to design queries and reports.

SEQUEL offers executive dashboards, drill-down data analysis and run-time prompts to deliver important iSeries data to managers and other non-technical users.

E-mail and FTP delivery let you deliver information to remote users and servers.

www.asc-iseries.com



Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

LANSA:  An entirely different approach to application modernization and innovation
SafeData:  Cost-effective, subscription-based data protection services for the business community
COMMON:  Join us at the Fall 2006 conference, September 17-21, in Miami Beach, Florida

 


 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement