|
-----Original Message-----<adamglauser@xxxxxxxxxxxx>
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
wrote:HTTP and FTP are
Adam West wrote:the rates or
Is it doable to have an RPG program go to a web site and get
it must be done via an FTP or XML process?
I'm not really sure what you mean by "an XML process".
wayscommunication protocols while HTML and XML are markup languages, or
Youof 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.
frommight get XML, CSV, field-delimited or some other type of document
Ian FTP server.
If you want to try to extract rates from an HTML page (aka web site),
inonly have one word of advice ... don't! If you can get the data
isanother format it would likely be much easier on you. Parsing HTML
mightpainful compared to parsing XML or a delimited file (the type you
mailingget via FTP).
--
This is the RPG programming on the AS400 / iSeries (RPG400-L)
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 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.