dsintbuf_getrow() - row has N columns when N expected

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Nick_6789
Participant
Posts: 32
Joined: Thu Jan 05, 2006 2:07 am

dsintbuf_getrow() - row has N columns when N expected

Post by Nick_6789 »

Greetings everybody. I too have encountered similar problem to what yinyin has encounted...

My solution was... in between the active stages, (Mine I had a sorter to aggregator to transformers) I've placed a sequential file. With that the failure rate dropped dramatically! I have also turned off row buffer for my jobs.

What does the sequential file play in this? In doing so I have a strong impression that this whole error has something to do with buffering or memory allocation or caching or whatever for the unix server I am currently hosting the ds project.

Does anyone have a take in why this is so?
jzparad
Charter Member
Charter Member
Posts: 151
Joined: Thu Apr 01, 2004 9:37 pm

Post by jzparad »

The sequential file would act as a buffer between the two stages but I'm guessing that unlike an IPC stage, the second process would not begin until the first process has completed. You therefore loose the parallel processing advantage.
Jim Paradies
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

Jim's answer is correct.

There seems to be a bug in the metadata handling when buffering is enabled, whether explicitly or implicitly. An intermediate sequential file defeats the purpose of buffering by forcing data to be touched down to disk (at "disk speed" rather than at "memory speed)". But the Sequential File stage does not use inter-process buffering, so can not manifest the symptoms reported in the subject line.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Nick_6789
Participant
Posts: 32
Joined: Thu Jan 05, 2006 2:07 am

dsintbuf_getrow() - row has N columns when N expected

Post by Nick_6789 »

ray.wurlod wrote:Welcome aboard. :D

Jim's answer is correct.

There seems to be a bug in the metadata handling when buffering is enabled, whether explicitly or implicitly. An intermediate sequential file defeats the purpose of buffering by forcing data to be touched down to disk (at "disk speed" rather than at "memory speed)". But the Sequential File stage does not use inter-process buffering, so can not manifest the symptoms reported in the subject line.
I undestand now... thanks guys!

I think it's gotta do with the server I am hosting the project in I guess. I talked to one of my team mates and he did stress out that resources are somewhat lower than my other test servers.

Reckon either I get that up and running or I have to stick with a silly design with sequential files in between...

I know I lose parallel processing advantage but with the current condition... I don't have much choice.

Thanks for enlightening guys! :lol:
Post Reply