문제

So i am reading an XML file from request note of flow. And need to convert XML data to blob.

도움이 되었습니까?

해결책

Try something like this:

CAST( MYLITTLESTRING AS BLOB CCSID InputRoot.Properties.CodedCharSetId)

다른 팁

If you receive messages from both ASCII and EBCDIC based platforms you should include a CCSID often based on the inbound messages CodedCharSetId.

DECLARE StaticValueBlob BLOB CAST('StaticValue' AS BLOB CCSID InputRoot.Properties.CodedCharSetId);  

If you are looking to get the whole XML document as a BLOB then you will want to use the ResetContentDescriptor Node instead.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top