Page 1 of 1

Parallel Routine Error

Posted: Tue Oct 18, 2011 9:21 pm
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

Posted: Tue Oct 18, 2011 11:15 pm
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.

Posted: Wed Oct 19, 2011 12:43 am
by Rakesh311
Thanks a lot Ray....Resolved it..:-)