CFF to read column PIC S9(9) COMP in an EBCIDIC binary file

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

Hi All,
It ends up to change Byte Order in record option of CFF to "Big-endian" solves the problem. I believe the "Native-endian" is default to take the High-Byte from Right (Little-endian) in Windows, and High-Byte from Left (Big-endian) in Unix that is the right order to read Binary COMP field. Therefore the problem did not show up in Unix.
Hopefully this can save you sometime when you get into the usage of CFF.
Nice weekend!
Post Reply