Any questions relating more to a PC type environment. This could be PC, Servers (both LINUX and WINDOWS). Prepare the SAVF a. On a PC, open IBM System i Access for Windows. b. Start a session with the AS/ server where spool file to be exported is located. c. Assuming you’re correct and that the program creates a spool file Sounds like it’s being sent to a printer automatically. By default, once a.
|Published (Last):||11 January 2009|
|PDF File Size:||15.34 Mb|
|ePub File Size:||6.19 Mb|
|Price:||Free* [*Free Regsitration Required]|
Converting a spooled file to PDF
Create a directory to FTP your file to: Do not press Enter. Fill in the appropriate parameters, and press Enter.
Also check out this article which discusses how to copy spool files to your PC via Operations Navigator: I’m not sure about AS, but on system z there is wplf an FTP service that can be used to retrieve job spool files. You should try it, it may help you get rid of your current unstable tool I hope this helps. All my answers were extracted from the “Big Dummy’s Guide to the As” and I take no responsibility for any of them.
What’s the original format go the spool file? I have been looking around but I haven’t found a small code to start from there, I been searching around and haven’t found anything close. But you seem to be asking about something different. Sign up using Facebook. From that point, you can grab the file from that shared IFS directory in C. Have you tried any of them?
Get the file from the iSeries: These are pretty much your options for conversion of different type of files to plain text format. That’s the plan but without opening the file the rest sp,f work. April 13th, Sign up or log in Sign up using Google. Sign up using Facebook.
I think we probably use 4 or 5 of them at my work. Add to your Watched Users.
Version Independent Operating system s: After compiling the programs in RPG i want to do the testing. What are you expecting to see in a spooled file?
IBM FTP a Spooled File to PC – United States
There are also lots of commercial packages that can do this stuff for you automagically. We have a requirement, where in the AS spool aa400 report needs to be converted to a formatted excel sheet and mailed to the respective people. February 27th, March 30th, Lastly if its just querying tables you can do that using perl on a Win32 system and ump the results directly into a spreadsheet and email it.
Andy OL Guru Registered: I’m trying to code a console application to get the spool file from as to a different destination as a text file. Please tell us what’s your problem.
Contact and feedback Need support? I have been building all of my reports with 3 options There are many different ways to go about this.
At the command prompt command line, enter C: There are examples to do all of this on this site But to capture jobs automatically, you must use PlanetPress Workflow. I wasn’t allowed to call the APIs. Post as a guest Name. Below are the options you have as far as converting to text goes: X Forms to PlanetPress 4.
End your FTP session: You splff save the file to a shared IFS directory mapped to a Windows drive and have your c program get it from there.
How to convert AS/ spool file into text file ? – Objectif Lune Tech Support Self Help
It mimics some of the functionality found in PlanetPress Workflow. Watson Product Search Search. Hi Andy, It all depends on what format your data comes in. Regards, As040 Attached Files Dummy.
Changing the parameters don’t change the error message.