Just thought I'd let everyone with a BPCS installation know that you can 
create a program that will automatically load the exchange rate 
information on the schedule you wish by querying a website service.
I recently queried the Midrange list for help in this task and was 
pointed to Scott Klement's utility and example package he provides as a 
service to the iSeries community.  You can find the package at 
http://www.scottklement.com/httpapi/ .  Inside is an example program to 
retrieve and display to screen the current exchange rate information for 
a given from and to currency set.
I took the program and performed a slight modification so that it would 
return the exchange rate instead of displaying it.  I then wrote another 
program that reads the GCML01 file skipping USD and a couple of other 
inactive currencies and then performing the calls to translate to and 
from USD.
I'd provide the programs I wrote, but there's some customizations there 
that would not be of use to anyone.  The programming is really so 
simple, that any iSeries programmer should be able to produce a working 
version in an hour or two.
Bill
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.