Sequential_File_0,0: Field "TRIP_NAME_IDENTIFIER"

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
HariD
Participant
Posts: 15
Joined: Tue Feb 23, 2010 3:14 am
Location: Chennai
Contact:

Sequential_File_0,0: Field "TRIP_NAME_IDENTIFIER"

Post by HariD »

Im getting this warning when importing source seq file

Sequential_File_0,0: Field "TRIP_NAME_IDENTIFIER" has import error and no default value; data: {T r i p 20 N a m e 20 I d e n t i f i e r}, at offset: 0

Any answer would be appreciated.
venugopal.123
Participant
Posts: 9
Joined: Sun Jun 27, 2010 11:52 pm

Re: Sequential_File_0,0: Field "TRIP_NAME_IDENTIFIER&qu

Post by venugopal.123 »

Hi Hari how are you man this is venu from Pune...
Here is your solution:

Metadata specified does not match to the given file layout. Check for TRIP_NAME_IDENTIFIER, for which it is complaining about. What is the data type that been specified?
If you cannot nail down, change it to varchar and view the data.

Hope this will help you...
austin_316
Participant
Posts: 80
Joined: Fri Aug 21, 2009 7:49 am
Location: India

Sequential_File_0,0: Field "TRIP_NAME_IDENTIFIER"

Post by austin_316 »

I would also suggest you to check if all the columns before this column have been given values or not. if any column misses the value even 'null' then the datatype of this column expects some values which it could not find.
not sure if this is the exact solution. but this mite help you if the issues is due to this

for example please check below data(tab seperated)

column1<tab>column2<tab>column3<tab>column4<tab>column5
value1<tab>value2<tab>value4<tab>value5

instead it shud have been like this

column1<tab>column2<tab>column3<tab>column4<tab>column5
value1<tab>value2<tab>value3<tab>value4<tab>value5

in the above case error would be thrown at column3 if the datatype that it is expecting doesnot match

this is based on my personal experience.
can anyone please correct me if i am wrong here.
thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

My guess is that the column definition for TRIP_NAME_IDENTIFIER is incorrect, perhaps a numeric type, while the contents are a string (either that, or your first line contains column names)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Come on, look at the value that was rejeced!

Then enable "first line is colunn names".

Import errors at offset 0 are almost always due to this property not being properly set.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply