Special Character in Output Sequential 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
Jayanto
Participant
Posts: 41
Joined: Fri Feb 18, 2011 12:37 am
Location: Kolkata

Special Character in Output Sequential File

Post by Jayanto »

Hello,

I am getting a special character in my output Sequential file.
Even though, I do not have this character in the source Sequential file.
Due to this the target file is getting a newLine character.

How can I handle this? :(
Regards,
Jayanto
TPons
Participant
Posts: 18
Joined: Mon Jan 03, 2011 3:32 am
Location: India

Post by TPons »

The information that you have given is not clear and more specific to give a solution to question.
Jayanto
Participant
Posts: 41
Joined: Fri Feb 18, 2011 12:37 am
Location: Kolkata

Post by Jayanto »

In my source Sequential File, I have a field "BIN"(Varchar(20)). When am mapping this field to my target Sequential File, which is also "BIN"(Varchar(20)).
Then in the target Sequential file, am getting the special character.

Please letme, if any more clarification is needed. :?
Regards,
Jayanto
tbharathkumar
Participant
Posts: 26
Joined: Mon Aug 27, 2007 6:27 am
Location: Des Moines

Post by tbharathkumar »

Are you getting this chracter along with "BIN" column?? what is the record delimiter used? is this UNIX or windows file?
Regards,
Bharath Tipirisetty
Jayanto
Participant
Posts: 41
Joined: Fri Feb 18, 2011 12:37 am
Location: Kolkata

Post by Jayanto »

The BIN Column from source file has no Value. But in the target file, it is showing a special character <CR> in the BIN Field.
It is a Windows File.
Regards,
Jayanto
tbharathkumar
Participant
Posts: 26
Joined: Mon Aug 27, 2007 6:27 am
Location: Des Moines

Post by tbharathkumar »

think it's Carriage return charater, Check ur source file with text pad for better understanding file format(i.e record, line and EOF delimiters.
Regards,
Bharath Tipirisetty
Post Reply