15 pts.
 Retreiving current market price
CL, RPG
We need to invoice our customers the cost of platinum used in some process, based on its usage in grams. I need to retreive the current market price of platinum from internet and use it in RPG program to do the calculations. How can we retreive the current market price of Platinum in a RPG/CL program?

Software/Hardware used:
ASKED: August 28, 2008  6:33 PM
UPDATED: August 30, 2008  2:37 AM

Answer Wiki:
Try this link... <a href="http://www.mcpressonline.com/tips-techniques/web-languages/techtip-talk-to-the-internet-with-curl.html">cURL</a> Hi from PGMBOB, As the URL indicates, you could fire up a job that get the price from the web, scan the resulting file and get the price. . You might want to capture the price into your database with a timestamp key. You might need prices in several currencies, or several suppliers. Do you have several suppliers where you can shop the best price? Is there a FIFO / LIFO price requirement for your cost? You might be able to get a price / cost feed FTP or download from your supplier. Good Luck .
Last Wiki Answer Submitted:  August 30, 2008  2:37 am  by  BigKat   7,175 pts.
All Answer Wiki Contributors:  BigKat   7,175 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _