Another Super-Easy Way to Copy a Spooled File from One Machine to Another
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 |