× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Jimmy,

Am 08.11.2023 um 16:23 schrieb Jimmy Sansi <jsansi@xxxxxxxxx>:

Having trouble with returnMsg column value from HTTPPOSTBLOBVERBOSE ...
<snip>
The documentation says returnMsg is a BLOB(2G) but when I run via ACS
Run SQL it comes back hexadecimal. Cast from BLOB to CLOB throws an
error. Casting returnMsg to varchar is not working either.
<snip>

Have you looked into RESPONSEHTTPHEADER ? What info do you get?

You can also try using TRY_CAST to varchar using different CCSIDs until you find the right one - maybe it's 1201 or 1208.

When casting BLOBs it's always some kind of guessing-the-right-CCSID game, because a BLOB column/variable has generally no CCSID - but the data in it (as long as it's text) sure has.

HTH
Daniel

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.