Page 1 of 1

Sequential File rejects

Posted: Fri Mar 01, 2013 11:57 pm
by suja.somu
Can anyone explain me the below question.

What all the possible reasons, a sequential file stage will reject data to a reject link.

Suppose I have 4 columns as below

Col1 varchar Not Null,
Col2 varchar Null,
Col3 varchar Not Null
Col4 varchar Null

Posted: Sat Mar 02, 2013 1:48 pm
by ray.wurlod
Is this an interview question?

As a general rule strings are never rejected.

But you have not provided any information about Null Field Value property or the data values in the file, so a complete answer is clearly impossible.

Posted: Sun Mar 03, 2013 10:49 pm
by suja.somu
Thanks Ray.

This is not a interview question. I did a search in help and I could not find any details on the reasons of the rejects in a sequentila file stage, so I posted in the forum.

I have a requirement to read a sequential file ( csv file ) and load into target file.

As per the metadata of the csv file, for the Null values, the I have set the Null field value property to handle the nulls.

Other than this, what are the possible rejects of the stage.

Posted: Mon Mar 04, 2013 1:21 am
by ray.wurlod
Only one that I can imagine - reading a null (null field value) for Col1 or Col3 where there is no default value defined.