Open PDF on Web server from AS/400

15 pts.
Tags:
AS/400
AS/400 interoperability
AS/400 remote access
PDF
Web servers
Is it possible to open a document (i.e. .PDF)stored on a web server from the AS/400 ?

Answer Wiki

Thanks. We'll let you know when a new response is added.

What are you wanting to do with the file?

You could store a .PDF document in the IFS or as a binary large object in a data file, but it seems to me that because a .PDF is an image file, a character based emulator wouldn’t be able to interpret it. But you can open other file types, such as a .TXT or .CSV, from the i, in many different ways.

Otherwise, you’d need an application capable of reading and displaying a .PDF, and I don’t know whether there is such software available for IBM i (fomerly OS/400). Otherwise, you’d have to create something, which is no small undertaking. And since Adobe already exists and is widely available, why would you need to?

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mcl
    Yes, it is possible - but you won't be opening it on the AS/400 per se. You have to using iSeries Access for Windows. It still has some left over commands from the PC Support days.. Your program - running on the AS/400 and called by your interactive 5250 workstation session - will need to make two calls - to STRPCO and STRPCCCMD. Lots of references on the web to these, but basically, the STRPCO is Start PC Organizer (which you have to call first) - and the STRPCCMD allows you to run a command on your PC. The command would be whatever you need to do to open the PDF in question. One caveat - I don't think the STRPCCMD command supports long file names. Regards Mike
    2,740 pointsBadges:
    report
  • Ibsluis
    Thanks for the responses. The files (PDF) will be stored on a web server. I have tried the command openning a file on my local C drive and it works, But will it work getting the file from a remote server? The users accessing the file may not have client access installed. Most of our users access the system through a GUI via a web browser. Would the command still work in this case?
    15 pointsBadges:
    report
  • Chance
    Just read an article that may be helpful-- Calling a PC Application from RPG, Part II Written by Thomas Snyder http://www.mcpressonline.com/february-18-2009-vol-8-issue-4/programming/rpg/calling-a-pc-application-from-rpg-part-ii.html
    105 pointsBadges:
    report
  • mcl
    The STRPCCMD command only works if you have IBM Client Access installed on the client. As far as your PDF's if they are stored on a web server and you can access them via a web browser - then you should be able open them with STRPCCMD. Well, that's the theory... The MCPRESS article that Chance referenced is good. You should read it if you have not already. Regards Mike
    2,740 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following