Retrieval of data from a Seq 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

Please post the exact error message - it may even give you some clue if you read it carefully.

The representation of NULL in the file must have the same number of characters as the field width. Therefore "X" is invalid as a representation of NULL unless the data type is Char(1) or VarChar(1).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srini4122
Participant
Posts: 3
Joined: Sat Jan 10, 2009 8:05 am
Location: Hyderabad

Retrieval of data from a Seq file

Post by srini4122 »

Thanks a lot
as i am not a premium member i could read the post partially
can i get an email of your answer.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No, because that would set a precedent to undermine one of the sources of revenue by which DSXchange hosting and bandwidth costs are funded. A premium membership, which will allow you to read the entire post, is not expensive, at less than 30c (Rs12) per day.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srini4122
Participant
Posts: 3
Joined: Sat Jan 10, 2009 8:05 am
Location: Hyderabad

Post by srini4122 »

Thanks Ray
i will work it out
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

How about the "Please post the exact error message" part, you could see that.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vasa_dxx
Participant
Posts: 39
Joined: Sun Sep 28, 2008 2:59 am
Contact:

Post by vasa_dxx »

Could you throw light on the Metadata for the columns.
Try with declaring the Nullable field as varchar2.
Two wrongs don't make a right. But three lefts do.
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

In PX, null field value will convert nulls into the given default on import from a seq file, it won't do the opposite i.e. convert the letter 'X" to a null
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Still waiting to see the exact error message posted...
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