Home > Ask the AS/400 Experts > iSeries PC/Windows Connectivity Questions & Answers > Copying the spool file stream to IFS
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Copying the spool file stream to IFS

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


iSeries news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 02 June 2008
We are creating a spool file (RPG II) on the iSeries (9406-800) and sending it to a printer that "prints" a text file to a PC. When the file gets to the PC, a box pops up asking for a file name. Are you familiar with RPG II & Windows XP to suggest a way to get the file to a specific Windows folder without having to enter a name?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
iSeries PC/Windows Connectivity
Remove character limits from domain or users on RMTUSER
Generically send a text file from the IFS via FTP
Send parameters correctly to the browser when creating a PHP page
Automate Client Access to find files on Windows scheduler
Setting ILE and C+++ compilers to runtime
Configuring Exchange server to allow mail forwarding from AS/400
Saving multiple sessions on IBM iSeries Client Access when using Vista
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Displaying an image from the AS/400 on a PC, troubleshooting
Running a job on the iSeries after it has been transferred to a PC

Integrated File System (IFS)
Transfer files from one environment to another without closing all other AS/400 sessions
Securing the integrated file system on IBM System i
Generically send a text file from the IFS via FTP
Setting ILE and C+++ compilers to runtime
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Backing up PDFs within the IFS on AS/400
FTP from AS/400 to PC folder
An automated CL method of moving a query from AS/400 to Excel
IFS folder error
Accessing IFS files

iSeries Access (Client Access)
Modern System i reports using Client Access
Automate Client Access to find files on Windows scheduler
Saving multiple sessions on IBM iSeries Client Access when using Vista
Running a job on the iSeries after it has been transferred to a PC
SQL7008 error in iSeries Access and journals
Converting and transferring AS/400 packed decimal fields to ASCII systems
How to: Transfer unlimited data to Excel from AS/400
The iSeries and MS Office make good partners
Microsoft computing: Integrating the iSeries and Microsoft Office
i5/OS and Microsoft Office Integration Handbook, Third Edition -- Chapter 3

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


In my opinion the best approach will be to have the spool file copied to stream file rather than "printed" the text file.

Your current solution is the following,

  • Spool sent to output queue
  • Output queue is connected to emulation printer session.
  • The printer session is defined to use generic text driver.
  • When the spool arrives the generic text driver ask for the file name.

My suggestion:

  • Download SPL2STMF (freeware) and install it.
  • After the report is completed copy the spool to a directory in the IFS (So you can set the required name for the file).
  • The report is now available to the PC user (Although it is on the iSeries).




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts