Parallel Routine Error

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
Rakesh311
Participant
Posts: 36
Joined: Wed Aug 04, 2010 10:53 pm
Location: Banglore
Contact:

Parallel Routine Error

Post by Rakesh311 »

Hi,

I have written an C++ routine whose return value is char*.

For rows up to 30000 its working fine as expected.
But when more than 30000 records came its showing error as

Fatal Error: Subprocess appears to be writing binary data as error messages.
131072 binary bytes written to stdout or stderr of a subprocess opera
tor

But when I run the same script without using datastage its working fine.

Con you guys help me in resolving this?

Thanks
Rakesh
rAKESH
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DataStage has its own conventions for stdout and stderr file units, so you must be very careful using cout, and printf and similar functions. Indeed, there ought to be no need to use functions like printf in DataStage parallel routines.
Last edited by ray.wurlod on Wed Oct 19, 2011 4:03 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Rakesh311
Participant
Posts: 36
Joined: Wed Aug 04, 2010 10:53 pm
Location: Banglore
Contact:

Post by Rakesh311 »

Thanks a lot Ray....Resolved it..:-)
rAKESH
Post Reply