Problem in Reading the EBCDIC 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
s_rkhan
Participant
Posts: 20
Joined: Thu Mar 03, 2005 6:26 am

Problem in Reading the EBCDIC File

Post by s_rkhan »

Hi,

We have fixed length file that contains the ebcdic data and each record of length 80 and number of columns as 10. Every column has some specific conversion rule for converting it into ascii format.

We are having all the conversion rules in C file so we are trying to first read the 80 bytes and then calling the C function rules from dataStage by specifying which rule need to be called.

The problem we are facing is that when we read the data as simple CHAR(80) with Data Format = Binary it reads only 1 record as having some value and rest other records as blank, this is happening as first column of each record contains Char(0) character.

So can anyone specify how can we read this data.

Thanks
srk
Post Reply