× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Bradley, in your or Scott's method, does it do the access via a standard HTTP GET request ? to be made to day xe.com  servers ?

--- On Tue, 6/24/08, Bradley V. Stone <bvstone@xxxxxxxxxxxx> wrote:

From: Bradley V. Stone <bvstone@xxxxxxxxxxxx>
Subject: RE: Getting data from banks
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Date: Tuesday, June 24, 2008, 3:23 PM

There should be some websites that have the data. I know I've helped
customers use my GETURI application (or scott's HTTP API) to go out and
retrieve it from there.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Francis Lapeyre
Sent: Tuesday, June 24, 2008 9:45 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Getting data from banks


A Google search for "currency rates data" comes up with a bunch
of services,
but they'll cost you.

What looks fairly easy (you can get it as a .csv file, and then,
presumably,
use CPYFRMIMPF to put it into a physical file) is

http://www.xe.com/dfs/product.php



On Tue, Jun 24, 2008 at 8:29 AM, Adam Glauser
<adamglauser@xxxxxxxxxxxx>
wrote:

Adam West wrote:
Is it doable to have an RPG program go to a web site and get
the rates or
it must be done via an FTP or XML process?

I'm not really sure what you mean by "an XML process".
HTTP and FTP are
communication protocols while HTML and XML are markup languages, or
ways
of formatting data. Web sites of the sort that a human would usually
look at in a browser are usually HTML documents retrieved using HTTP.
Web services often return XML documents using HTTP.

FTP is just another way of getting data from one place to another.
You
might get XML, CSV, field-delimited or some other type of document
from
an FTP server.

If you want to try to extract rates from an HTML page (aka web site),
I
only have one word of advice ... don't! If you can get the data
in
another format it would likely be much easier on you. Parsing HTML
is
painful compared to parsing XML or a delimited file (the type you
might
get via FTP).
--
This is the RPG programming on the AS400 / iSeries (RPG400-L)
mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




--
Francis Lapeyre

Nullum gratuitum prandium.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.