Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transferring spool files 1

Status
Not open for further replies.

AOLBoy

IS-IT--Management
May 7, 2002
68
GB
Hi,
Is there a simple way to save a spool file from one AS/400 so that I can simply restore to another AS/400 and print it?
How do you locate the spool object name?

 
Check out the SNDNETSPLF command.

RedMage1967
IBM Certifed - RPG IV Progammer
 
RedMAg1967,
If using SNDNETSPLF, this requires some form of link between the AS/400's. I was thinking more in terms of putting the spool files onto magnetic media.
 
You cannot save a spool file. You would have to first use the CPYSPLF command with the CTLCHAR(*FCFC) parm and copy the spool file to a physical file. Then you could save the physical file, transfer it to the other system; write a program to interpret the *fcfc control characters and recreate the splf. That's the only way I know how to do it.

RedMage1967
IBM Certifed - RPG IV Progammer
 
This ISN'T exactly what you're looking for BUT if you use Operations Navigator that comes with Client Access (or Iseries Access whatever they're calling it now)

Under Basic Operations you can select Printers. If you highlight a printer the screen will show all the spooled files in the outqueue for that printer. You can simply drag and drop a spool file onto your desktop or floppy drive or CD writer etc. The program converts it to a text file which you can print to any printer or save to any media.

Like I said it's not exactly what you're looking for but I've found it to be a useful tool from time to time. FYI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top