Field with 'delim=end' did not consume entire input

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Let's try the hex dump again. Unfortunately, Ray got exactly what he asked for, but what we really need are a sample of the results of this: od -hc filename - the 'h' gets us the 'hex' part along with the 'c'haracter information. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

Post by deepa_shenoy »

Hi,

When a 'lc' is done on the target file, it gives the exact count.

But while reading from the file, it reads only 90% of the records.

Could the issue be something else?

Regards,
Deepa
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Metadata mismatch.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

Post by deepa_shenoy »

But for the same metadata, it passes 7 lac records, and rejects only 280 records.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Metadata mismatch. You need to look at those 280 records and see what it doesn't like about them, what data does not match the metadata in the stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deepa_shenoy
Participant
Posts: 95
Joined: Thu Sep 24, 2009 12:15 am
Location: India

Post by deepa_shenoy »

Hi All,

Firstly I would like to thank everyone for their contribution and help.

I finally got the solution. PHEW! :)

The field delimiter -Quote=double was given.

Within the data, in some record or the other, double quotes were present. Due to this, DataStage was rejecting the records.

I changed the value of Quote and it works fine :)

Regards,
Deepa
Post Reply