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

About a timer



   Scott,


   We use this piece of wonderful software that we picked up from your
   website

   a couple of months ago:

    

   C*************************************************
                            

   C*  Send the request to the http server
                            

   C*************************************************
                            

   c                   eval      rc = send(sock: %addr(request):
   reqlen:0)                        

   c                   if        rc <
   reqlen                                                      

   c                   eval      #L = #L +
   1                                                      

   c                   eval      Msga(#L) = '5-Unable to send entire
   request!'                    

   c                   callp
   close(sock)                                                      

   c                   endif
                            


   but occasionally the AS400 is waiting a very long time for a response.

   At that time the CPU percentage is running up to the limits and the
   system is getting very slow.

   We have to kill the job to release the display station. We think the
   webserver does not

   Respond in time.

   Is there any way to build a timer around this piece of software just
   to enable the

   program to end waiting for a response, let's say after 15 seconds.

   That would be very userful.


   Cheers,


   Peter Snijders

   Sr. Systems Designer

   PRYM Software BV

   The Netherlands
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------