Cannot read the data 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
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Cannot read the data sequential stage

Post by kashif007 »

Hi I have a strange problem.
I cannot read the following file into my sequential stage, it has about 99000 rows. Below are a few of the lines from the file. There is another file same like this and it gets uploaded very easy. Can anyone tell me what will the problem. My format is perfectly fine.

| |000000000000000171 |ES97 |
| |000000000000000480 |AT92 |
| |000000000000000566 |AT92 |
| |000000000000000630 |AT92 |
| |000000000000000682 |AT92 |
| |000000000000001003 |DE03 |
| |000000000000001003 |DE04 |

Please tell me the format that works for this text file. I am using
Final Delimiter : End
Delimiter : |
The number of records get loaded but i cant see anything in the Data view, with this I cannot perform a join further in the job. Please help.
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

In the last post you had resolved this, right!!

Why again you are not using field delimiter as TAB?

Sam
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

I did try that but it's not working for field delimiter as tab.
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Is it giving any error message. If so post it here.
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

There is no error it's just that i cannot see the data in view data from the sequential file, and since all the field come empty i cannot process them further in the job.
naren
Premium Member
Premium Member
Posts: 5
Joined: Mon Jul 17, 2006 8:30 am

Re: Cannot read the data sequential stage

Post by naren »

kashif007 wrote:Hi I have a strange problem.
I cannot read the following file into my sequential stage, it has about 99000 rows. Below are a few of the lines from the file. There is another file same like this and it gets uploaded very easy. Can anyone tell me what will the problem. My format is perfectly fine.

| |000000000000000171 |ES97 |
| |000000000000000480 |AT92 |
| |000000000000000566 |AT92 |
| |000000000000000630 |AT92 |
| |000000000000000682 |AT92 |
| |000000000000001003 |DE03 |
| |000000000000001003 |DE04 |

Please tell me the format that works for this text file. I am using
Final Delimiter : End
Delimiter : |
The number of records get loaded but i cant see anything in the Data view, with this I cannot perform a join further in the job. Please help.
check the metadata properly and use final delimeter as |
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If other file is working fine, you may defenitly need to check the difference between the two file or the metadata of the two files been used.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

The metadata is good.
I have used five columns to read the data and final delimiter is end if i look into the file in ultra edit. Some how I am not able to view it.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Whta data types are specified? What null representations have been specified? Try a record schema with five VarChar fields.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Sample data is having four columns. Also check again with your final delimiter?

Sam
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

can you provide the complete file format you are using in sequential file stage?
hi sam here
kashif007
Premium Member
Premium Member
Posts: 216
Joined: Wed Jun 07, 2006 5:48 pm
Location: teaneck

Post by kashif007 »

Thanks guys. My Datastage is stupid or may be i am Stupid. I could see the data this morning.
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Either there has been some changes made to the file or the way you are processing it.

Sam
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Post Reply