Binary to ASCII

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
bkumar103
Participant
Posts: 214
Joined: Wed Jul 25, 2007 2:29 am
Location: Chennai

Post by bkumar103 »

Hi Praveen,
Or is it some non english character. Please check the NLS settings.
Try using column import stage.

Thanks,
Birendra
thumati.praveen
Participant
Posts: 106
Joined: Wed Oct 04, 2006 5:21 am

Post by thumati.praveen »

bkumar103 wrote:Hi Praveen,
Or is it some non english character. Please check the NLS settings.
Try using column import stage.

Thanks,
Hi Birendra,

source file coming from Mainframe with some columns binary type and some columns CHAR type.

I tried using Cexport and Cimport stages I am not able to get it done.

Thanks,
Praveen.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you tried Complex Flat File stage?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
hemanthakumar
Participant
Posts: 34
Joined: Mon May 05, 2008 1:31 am

Post by hemanthakumar »

Hi,
Check this command in Unix sed 's/'`echo "\015"`'//g' filename for removing control characters in your file.
Post Reply