Originally posted by: paul.brett
Some of the base conversion functions of WTX are quite interesting, and if chained together, can produce astounding results.
Check out the enclosed map to convert a text string into the binary equivalent:
IBM = 01001001 01000010 01001101
...for which I used:
STREAMTOHEXTEXT() a character at a time
TOBASETEN() to convert from base 16 (Hex) to base 10
FROMBASETEN() to convert from base 10 to base 2 (Binary)
FILLLEFT() to tidy it all up and equal size/space each group
Thank-you.
Paul.
Follow me on Twitter
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender