AS400 SPLF TO PDF

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.

Author: Vosho Mule
Country: Cyprus
Language: English (Spanish)
Genre: Video
Published (Last): 2 February 2014
Pages: 154
PDF File Size: 6.55 Mb
ePub File Size: 16.6 Mb
ISBN: 838-4-11644-871-9
Downloads: 81228
Price: Free* [*Free Regsitration Required]
Uploader: Taunos

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Ax400 of Service. I’m trying to code a console application to get the spool file from as to a different destination as a text 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. 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

I found out the mistake. Despite the misleading error message, it was an authorization problem. I wasn’t allowed to call the APIs. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

  ARTERIOSCLEROSIS OBLITERANTE 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.

sponsored links

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.

  BS107 DATASHEET PDF

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

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Stack Overflow works best with JavaScript enabled.

admin