source file delimiter error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
parag.s.27
Participant
Posts: 221
Joined: Fri Feb 17, 2006 3:38 am
Location: India
Contact:

source file delimiter error

Post by parag.s.27 »

Hi All,

I am having a funny problem in reading a source file in my DS job.

Actually the source file is '~' delimited. In the file last column is having null in all the records, not even spaces. Now datastage is not reading that column and throwing "Read File Delimited" error. can u please suggest some thing. I tried everything from opening it in XL, to saving it as CSV, but it did'nt work.
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

How about using the attribute for "incomplete column"?
parag.s.27
Participant
Posts: 221
Joined: Fri Feb 17, 2006 3:38 am
Location: India
Contact:

Post by parag.s.27 »

ArndW wrote:How about using the attribute for "incomplete column"? ...
Hi ArndW,

Can you please tell me in an elaborated manner, sorry but i did'nt understand.

thanks
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Parag,

go into your designer sequential file stage in the columns tab, and scroll to the right to see the incomplete column column. Also, try using the HELP and search for incomplete.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In the Columns grid scroll right and you will find rules that can be set on a per-column basis, including incomplete and "contains terminator" rules. Set the incomplete rule to Replace. Click on Help while there to learn more about the precedence requirements of these rules.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
parag.s.27
Participant
Posts: 221
Joined: Fri Feb 17, 2006 3:38 am
Location: India
Contact:

Post by parag.s.27 »

Hi,

I tried with column wise settings by checking Incomplete column and contains terminator options, but still it throws an error saying, "Column can not retain incomplete data as it is a delimited file"
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Both Ray and I suggested you read the HELP regarding how to set the incomplete columns. From the question in your post it would seem you decided not to follow that advice! Only columns starting at the end of the line and going backwards can be set to incomplete.
Post Reply