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):||2 February 2014|
|PDF File Size:||6.55 Mb|
|ePub File Size:||16.6 Mb|
|Price:||Free* [*Free Regsitration Required]|
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. I have the same problem. Sourcecode to open a file.
That’s the plan but without opening the file the rest doesn’t work. I get the error directly when calling the API, this is not an error message during the work of the call. Changing the parameters don’t change the error message.
Converting a spooled file to PDF
You guys have any idea or suggestion on how to start this? I’m not sure about AS, but on system z there is typically an FTP service that can be used to retrieve job spool sppf.
Check with your system admin to find out which options are available for fetching job output. Once splr know the options, you’ll be better equipped to figure out how to handle the problem in C.
It also seems like there are some classes to support FTP interaction in C. You can save the file to a shared IFS directory mapped to a Windows drive sa400 have your c program get it from there.
There are many different ways to go about this. I think we probably use 4 or 5 of them at my work. Do as40 need to do this from a C program or would it make sense to run a program on the IBM system that sends the spool file out instead?
Are you using anything from C to call AS programs currently?
Your best best is to do like Mike suggested and call a program already on the to convert the spool file to a shared IFS directory. From that point, you can grab the file from that shared IFS directory in C. I would recommend testing out both parts separately before you merge them into a single program.
ibm midrange – how to get as spool files to text in c# – Stack Overflow
Figure out the command you need to run on the by doing it manually in the green screen. Then, put a file in spfl shared directory and test pulling that into your program.
At the end, you can put those together. Maybe someone has a hint? What information are you trying to get from the spooled file?
An AFP fIle has an intricate format. Sign up or log in Sign up using Google. Sign up using Facebook.
ibm midrange – How to Generate Spool File in AS? – Stack Overflow