[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTP/1.1 500 Internal Server Error intranet versus intenet
If you mean something like x = %addr(SOAP) + 2
If variable (SOAP) is variable length variable. the first 2 bytes of the variable is used to internally store the character length of the actual data, where other systems just use null terminated strings and process a variable until they hit a null.
So %addr(SOAP) + 2 says skip to the address of the actual data.
That may not be a completely accurate explanation, but anyway that is basically what it means.
If a variable is fixed length you use x = %addr(SOAP) to access the address of the actual data.
If a variable is variable length you use x = %addr(SOAP) + 2, to access the address of the actual data.
If you notice most IBM functions require either a fixed length variable, or a Memory Address, and a Length of Data.
----- Original Message ----
From: "richbelcher@xxxxxxx" <richbelcher@xxxxxxx>
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Sent: Friday, August 28, 2009 6:06:45 PM
Subject: HTTP/1.1 500 Internal Server Error intranet versus intenet
I have been able to use the HTTPAPI to access the web services on the internet but our company has written a couple of intranet web services that I need to get information from. We are receiving the HTTP/1.1 500 Internal Server Error and I am working with them to isolate the problem. Currently they are trying to understand why the padding of 2 on the %addr(SOAP) is used. My understanding is the other system is an IBM main frame.
Thanks
Rich
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------