Page 1 of 1

Problem in Reading the EBCDIC File

Posted: Tue Oct 25, 2005 10:53 pm
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