Inconsistent View Data in Sequential File 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
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Inconsistent View Data in Sequential File stage

Post by vnspn »

Hi,

We have a Sequential File stage as source that reads a .csv file. This file has 115 records in it. The last few records have a value of -1 in one of the columns.

When we do a view data on this stage, the number of records that show on the screen are inconsistent. Sometimes it shows all records including the last few records with '-1' value, or sometimes it does not show the last few records that have '-1' value. I have the limit for view data as the highest 9999.

We would like to know if its a problem with just the view data or something to do with the format within the file.

Thanks.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Re: Inconsistent View Data in Sequential File stage

Post by Sainath.Srinivasan »

vnspn wrote:Sometimes it shows all records including the last few records with '-1' value, or sometimes it does not show the last few records that have '-1' value. I have the limit for view data as the highest 9999.
What is common in the 'sometimes' ?
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Re: Inconsistent View Data in Sequential File stage

Post by vnspn »

I'm doing nothing differently.

I just repeatedly do a view data, and at times is shows all records and at certain times does not show the last few records with -1.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What happens when you run the job? Are those last "-1" records processed or skipped? Skipped records indicate a metadata issue. Typically.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Post by vnspn »

No, they are not skipped. So far when we have run the job, I see them in the output. The problem is only when I view the data from the stage. Because it sometimes shows up and sometimes does not with view data, we are worried that, if that would drop those records during some runs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What's the data type? -1 is a valid value for any signed data type.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Post by vnspn »

The datatype is Interger.
I'm not getting any error /warning message when I view data. But, it just misses some records...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What are your sampling specifications when you use View Data? If you specify only 10 rows, that's all you'll get.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you repeatedly view the exact same static data over and over using the same settings and the results are not identical, you need to report that to the vendor - i.e. your official support provider.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

Post by vnspn »

Ray - I have my sampling specfication with the highest value possible, '9999'.

chulett - You have precisely stated our scenario. When we repeatedly view the exact same static data over and over using the same settings, the results are not identical. We shall get in touch with our vendor support as you have mentioned.

Thank you.
Post Reply