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?

>
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).


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



RELATED CONTENT
iSeries PC/Windows Connectivity
How to print RPG output using iSeries Access
How to view source files in the library
User being locked out by Windows share on iSeries
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Incorrect CCSID on FTP connection from AS/400 to Windows
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

Integrated File System (IFS)
How to view source files in the library
User being locked out by Windows share on iSeries
Incorrect CCSID on FTP connection from AS/400 to Windows
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
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
Backing up PDFs within the IFS on AS/400

iSeries Access (Client Access)
How to print RPG output using iSeries 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

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



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