Unable to read data from Sequential stage

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
vitumati
Participant
Posts: 27
Joined: Tue Sep 07, 2010 11:38 pm

Unable to read data from Sequential stage

Post by vitumati »

Hi Friend.

I've one file it contains 9 records(EceptionDb).If I open file with .csv format then I can able see 9 records.then I design a job I use the sequential file as source Simple I loading in target.While reading data It showing 26 records but actually it contains 9 records.
So sequential file not able read properly.In meta data I've column like Description_c due to this field its splitting into multiple records.


Can you please help me this issue.

Thanks...!!
VijayKumar T
Abhinav
priyadharsini
Participant
Posts: 40
Joined: Mon May 11, 2009 12:19 am
Location: Madurai

Post by priyadharsini »

Please provide some sample data like how the split is happening.
vitumati
Participant
Posts: 27
Joined: Tue Sep 07, 2010 11:38 pm

Post by vitumati »

Hi.......

In my source contains 9 records.

Id,Org_Name,Websit,Comment_c,Client_Id,.......

In the above MetaData Coment_c filed size 3200 bits,This field comment about the client.While enter the comment if user press enter button then sequential file consider as newline character from enter position onwards it treat as another line so that even though my source contains 9 records it showing more then 9 records

Thank..!!
VijayKumar T
Abhinav
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Use a Server job, the Sequential File stage there has a 'Contains Terminators' option the PX one doesn't for some reason, it will easily read your 9 records properly.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Any particular reason you posted this question three times? :?

ps. I deleted the other two, in case you were wondering.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply