Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get data from Web

Status
Not open for further replies.

rasayldz

Programmer
Dec 15, 2003
4
TR

Hi all,

i need to get some specific data from web (like Exchange rates) to use in RPGLE and don't know how to achieve this.

I want to schedule some jobs to store the data in a file and parse the necessary data from that outfile. Has anyone encountered such a problem?

Thanks in advance for any help.
 
i did soemthing slightyl similar. I used ASP to get all the information and create a text file with it. then just extract the info from the text file in your RPG PGm and use it as needed.

here's some info on the text file and RPG
the otehr portion of the task will depend on what platform and technology will be used for the web connectivity steps.

I not sure if you can do this entirely with RPG alone. That would be beyond my abilities for the amount i work with the language and platform

_____________________________________________________________________
onpnt2.gif

Hakuna matata!!
 
Or even better yet, you can use a java program to automagically retrieve the information from the web. Then you can have RPG call this java program to retrieve the information. I am working on getting some examples setup for the public's use. Once it is working, this works really slick!

iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
[pc2]
See my progress to converting to linux.
 
I completely agree with iSeriesCodePoet and have played a bit now that we're on a new iSeries. I just haven't had the time and confidence to relate my workings as of yet here. don't want to misguide anyone.

_____________________________________________________________________
onpnt2.gif

Hakuna matata!!
 

Actually i want to enable my iseries directly talk to the web. At this point i found "geturil" by Bradley V.Stone, it worked perfectly but it's not free...
 
Brad does good work. I don't know how much it is, but I would think that it is reasonable. Plus usually, you can try before you buy.

Otherwise, like I said, you can write a java program.

iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
[pc2]
See my progress to converting to linux.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top