[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting currency rates



What does the program do if the web site is down?

On Wed, Sep 24, 2008 at 10:20 AM, Adam West <adamster@xxxxxxxxx> wrote:
>
>   Michael, the issue is more on the CL. If I have a backup, it should be
>   OK. Only once did this Xurrency site go down and that was bec. he had
>   to re-up the domain charges. For that matter I have to check that the
>   data is reasonably good, i.e. suppose the rate they send is absurd
>   like 0. or if it is substantially less than the day before. Suppose
>   the Canadian $ is currently 1.034, if tommorow it comes in as 50
>   cents, that would probably be a problem.So i need a normalcy checker
>   program as well, and that is with a paid service also.
>
>   in the cl
>
>   1.00
>   PGM
>   2.00     /*    GOES TO WEB SITE [1]WWW.XURRENCY.COM AND PULLS RATES
>   */
>   3.00              ADDLIBLE
>   LIB(LIBHTTP)
>   4.00              MONMSG
>   CPF0000
>   5.00     /* USDCONV IS FIRST BUILT IN PGM SO REMOVE IF
>   EXISTS            */
>   6.00              DLTF
>   FILE(QTEMP/USDCONV)
>   7.00              MONMSG
>   CPF0000
>   8.00              CALL       PGM(OBRFORC)            ( this is Craig's
>   program that pulls those rates. )
>
>   right here I need to monitor if there was some problem with getting
>   the info from that web site. That's my question what system messages
>   should I monitor for?
>   ----- Original Message ----
>   From: Michael Ryan <michaelrtr@xxxxxxxxx>
>   To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>   Sent: Wednesday, September 24, 2008 9:39:31 AM
>   Subject: Re: Getting currency rates
>   Use a paid service. That's the problem with web stuff like that. Like
>   anything else, money is a motivator. A company that's being paid to
>   provide a service is more likely to have a reliable service.
>   On Wed, Sep 24, 2008 at 9:30 AM, Adam West <[2]adamster@xxxxxxxxx>
>   wrote:
>   >
>   >  This situation could always happen again.
>   >
>   >  What sort of Message should I monitor for in the CL? in case it
>   >  aborts, then I can take action or run a backup site.
>   >
>   >  Thanks.
>   >  Adam
>   >  ----- Original Message ----
>   >  From: Adam West <[3]adamster@xxxxxxxxx>
>   >  To: HTTPAPI and FTPAPI Projects <[4]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>   >  Sent: Thursday, August 28, 2008 2:01:20 PM
>   >  Subject: Re: Getting currency rates
>   >  Thank you, Scott. It does appear that it is back up. This raises
>   the
>   >  question what do other places do for a backup to such a foreign
>   >  currency site? if it does down for whatever reason.
>   >
>   >  Does any web site feed work with that code?
>   >  --- On Thu, 8/28/08, Scott Klement <[5]sk@xxxxxxxxxxxxxxxx> wrote:
>   >
>   >    From: Scott Klement <[6]sk@xxxxxxxxxxxxxxxx>
>   >    Subject: Re: Getting currency rates
>   >    To: "HTTPAPI and FTPAPI Projects"
>   <[7]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>   >    Date: Thursday, August 28, 2008, 4:29 PM
>   > I did some looking around...
>   >
>   > [1][8]xurrency.com's web site is down, but their domain name is not
>   expired.
>   >
>   > It appears that the site is hosted by [2][9]http://www.hostgator.com
>   -- which
>   > is a company that provides web servers for anyone to use.  You pay
>   them,
>   > and they provide you a web server that you can use to host your web
>   site.
>   >
>   > It appears that [3][10]hostgator.com has suspended xurrency.com's
>   service.
>   > Hard to say why -- either xurrency.com is in the progress of moving
>   to a
>   > new site, or they stopped paying hostgator, or they broke some of
>   > hostgator's usage rules...  hard to know.
>   >
>   > At any rate, this is not a problem with HTTPAPI or your program.
>   >
>   >
>   > Adam West wrote:
>   >>    OK when I try to go that web site I get that it's a suspended
>   > account
>   >>    or something.
>   >>
>   >>
>   >>    so either they are down or we did't pay the fee to them.
>   >
>   ----------------------------------------------------------------------
>   -
>   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
>   > [4][11]http://www.scottklement.com/mailman/listinfo/ftpapi
>   >
>   ----------------------------------------------------------------------
>   -
>   >
>   > References
>   >
>   >  1. [12]http://xurrency.com/
>   >  2. [13]http://www.hostgator.com/
>   >  3. [14]http://hostgator.com/
>   >  4. [15]http://www.scottklement.com/mailman/listinfo/ftpapi
>   >
>   >
>   ----------------------------------------------------------------------
>   -
>   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
>   > [16]http://www.scottklement.com/mailman/listinfo/ftpapi
>   >
>   ----------------------------------------------------------------------
>   -
>   >
>   >
>   ----------------------------------------------------------------------
>   -
>   This is the FTPAPI mailing list.  To unsubscribe, please go to:
>   [17]http://www.scottklement.com/mailman/listinfo/ftpapi
>   ----------------------------------------------------------------------
>   -
>
> References
>
>   1. http://www.XURRENCY.COM/
>   2. mailto:adamster@xxxxxxxxx
>   3. mailto:adamster@xxxxxxxxx
>   4. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>   5. mailto:sk@xxxxxxxxxxxxxxxx
>   6. mailto:sk@xxxxxxxxxxxxxxxx
>   7. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>   8. http://xurrency.com/
>   9. http://www.hostgator.com/
>  10. http://hostgator.com/
>  11. http://www.scottklement.com/mailman/listinfo/ftpapi
>  12. http://xurrency.com/
>  13. http://www.hostgator.com/
>  14. http://hostgator.com/
>  15. http://www.scottklement.com/mailman/listinfo/ftpapi
>  16. http://www.scottklement.com/mailman/listinfo/ftpapi
>  17. http://www.scottklement.com/mailman/listinfo/ftpapi
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------