Page 1 of 1

error in seq file

Posted: Tue Jan 22, 2008 1:48 am
by dsdv78
Hi all,

My job source is sequential file and target is Dataset. Seq.file->Dataset..i want get all data from seq.file to Dataset.. then following warning i am getting.

Field"SEQUENCE"has import error and no default value;data;{'EXTR_OUT_NEEDS',22/11/2007},at offset 110 here (SEQUENCE is column name) and also i am getting Import warning at record 1, Import unsuccessful at record1.

Thanks

Re: error in seq file

Posted: Tue Jan 22, 2008 2:35 am
by Mayur Dongaonkar
Check metadata and Final delimiter property of your sequence file stage.
Also try to do view data on Sequential file stage before running job.

Re: error in seq file

Posted: Tue Jan 22, 2008 3:30 am
by dsdv78
Hi Mayur,

yes,in Seq.feile also i am unable to see meta data...then the following error displaying...
Imported only 4 out of 18 external characters into a ustring of fixed length4. Ignorning last 14 characters of externalustring up to delimiter



Mayur Dongaonkar wrote:Check metadata and Final delimiter property of your sequence file stage.
Also try to do view data on Sequential file stage before running job.
Thanks

Re: error in seq file

Posted: Tue Jan 22, 2008 3:30 am
by dsdv78
Hi Mayur,

yes,in Seq.feile also i am unable to see meta data...then the following error displaying...
Imported only 4 out of 18 external characters into a ustring of fixed length4. Ignorning last 14 characters of externalustring up to delimiter



Mayur Dongaonkar wrote:Check metadata and Final delimiter property of your sequence file stage.
Also try to do view data on Sequential file stage before running job.
Thanks

Posted: Tue Jan 22, 2008 4:12 am
by Nagasudheerkumar
May be you have given the lengths as wrong for example u have 18 width length but you are giving only 4 length character . check the lengths

Posted: Tue Jan 22, 2008 4:23 am
by dsdv78
Hi Naga,

yes thats wrong in lenghts...now i corrected all those...

Thank you very much

Nagasudheerkumar wrote:May be you have given the lengths as wrong for example u have 18 width length but you are giving only 4 length character . check the lengths

Re: error in seq file

Posted: Tue Jan 22, 2008 4:26 am
by venbrk
Hi,

First in which format the data is in? Like , if the data file is in unix , open and see it. Then set the format properties of the sequential file in data stage. And try to view the data.
As per your post, EXTR_OUT_NEEDS is the column name. Lenght must match the data lenght.

Re: error in seq file

Posted: Tue Jan 22, 2008 4:33 am
by dsdv78
Hi,

My self create the source file thats why those warnings coming...Now i solved...Thank you
venbrk wrote:Hi,

First in which format the data is in? Like , if the data file is in unix , open and see it. Then set the format properties of the sequential file in data stage. And try to view the data.
As per your post, EXTR_OUT_NEEDS is the column name. Lenght must match the data lenght.

Posted: Tue Jan 22, 2008 8:03 am
by chulett
Then mark the post as Resolved, please.