Hi there,
Does Datastage provide bitwise op? Can you get the highest 2 bits of a byte and then 4 bits, then the lowest 2 bits? I.e., a byte data is split to three parts: highest 2 bits, middle 4 bits, lowest 2 bits with Datastage?
Thanks,
Does Datastage provide bitwise logical OP?
Moderators: chulett, rschirm, roy
Always best to check Appendix B of the Parallel Job Developer's Guide for currently available built-in transform functions.
Having said that though, I don't recall any.
If you can afford to use a BASIC transformer in a parallel job or a BASIC routine in a job sequence, I'm pretty sure there are BASIC functions that can test and manipulate bits.
Mike
Having said that though, I don't recall any.
If you can afford to use a BASIC transformer in a parallel job or a BASIC routine in a job sequence, I'm pretty sure there are BASIC functions that can test and manipulate bits.
Mike
They are described in the location Mike indicated, and under the Logical functions section.
BitAnd(), BitCompress(), BitExpand(), BitOr(), BitXOr(), Not(), SetBit()
I would think you need to use the BitAnd() function.
BitAnd(), BitCompress(), BitExpand(), BitOr(), BitXOr(), Not(), SetBit()
I would think you need to use the BitAnd() function.
Choose a job you love, and you will never have to work a day in your life. - Confucius