[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RNX0100 in HTTPAPI Version (1.23)
Hello,
You say that the error is happening on this line of code:
c eval wkByte = %subst(peFDSet:wkByteNo:1)
and you say that WKBYTENO = 34. That does not make sense, since peFDSet
is only 28 bytes long. What is the value of peFD?
For wkByteNo to be 34, you'd have to have more than 264 descriptors open
simultaneously. By default, OS/400 only allows 200 descriptors to be
open in each job. Granted, it's possible to increase that limit (which
you must've done?) but... wow, do you really need to have more than 264
descriptors open at one time?
Or is there a bug somewhere that's not closing a file/pipe/socket?
Thanks!
On 2/2/2011 3:14 AM, Massimiliano Toninelli wrote:
>
> Hi,
> sometime I receive a RNX0100 running the procedure http_url_post like
> this:
> rc = http_url_post(setupxml.urlsend:
> myPointer:
> dataSize:
> tempstmf:
> HTTP_TIMEOUT:
> HTTP_USERAGENT:
> 'application/x-www-form-urlencoded' );
> Where:
> setupxml.urlsend = '[1]http://sms.mydomain.it/smssend.cgi'
> MYPOINTER = SPP:C38638EC7801B020
> DATASIZE = 159
> TEMPSTMF = '/temp/sms_20110202095009437000.txt'
> The joblog, shows this error: (I translate from Italy to English):
> Cause . . . . . : There has been one of the following situations on
> procedure RPG COMMTCP_FD program LIBHTTP/HTTPAPIR4:
> The program goes in error here:
> P
> CommTCP_FD_SET...
>
> P B
> EXPORT
> D
> CommTCP_FD_SET...
>
> D
> PI
> D peFD 10I
> 0
> D peFDSet
> like(fdset)
> D wkByteNo S 5I
> 0
> D wkMask S
> 1A
> D wkByte S
> 1A
> C callp
> CalcBitPos(peFD:wkByteNo:wkMask)
> c eval wkByte =
> %subst(peFDSet:wkByteNo:1)
> c biton wkMask
> wkByte
> c eval %subst(peFDSet:wkByteNo:1) =
> wkByte
> P
> E
> In specific here:
> 4863 c eval wkByte =
> %subst(peFDSet:wkByteNo:1)
> where :
> PEFDSET = ' '< reverse image
> WKBYTENO = 34
> For better understand, I attach my screen shot where you can see the
> error.
> I hope it help you.
> Best Regards
> Massimiliano Toninelli
>
> References
>
> 1. http://sms.mydomain.it/smssend.cgi
>
>
>
>
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------