Options to process binary file from device

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
rmrama
Participant
Posts: 26
Joined: Wed Oct 15, 2003 1:39 am

Options to process binary file from device

Post by rmrama »

Hello and thanks for reading my post,

In my project, an input file comes in the form of a binary file filled with volume count information. The counts are numbers with 1 byte representing one count.

I tried to read the file using the CFF stage and made some progress. I set the columns holding volume counts as binary.

Looking at the output I could see that the stage takes a minimum of 2 bytes from the input file. Is there a way to read only 1 byte?

Although there is output, the values as wrong. When I am expecting 1 I am getting 12289!

Regards,
Rama
Post Reply