Error re-directing

Hi,
I'm running a program by executing the following command...
convert NA 2> compiler.err

Here is the command for debugging this process in IBM debugger...
idebug convert NA 2> compiler.err

On executing the above command the error output from idebug process is
redirected to compiler.err, but the errors from my program is directed to
the stdout. I want the reverse to happen. Please help me...

Try

idebug (convert NA 2> compiler.err)

Hi,

This didn't workout. it throws the following error...
Syntax error : '(' is not expected

Please refer the documents of idebug to see how to set the arguments meant for debugged program if this is not of help, all i can suggest is a workaround which should work

create a wrapper executable in which you call your debugged program with proper redirection.

Next in your idebug invoke the wrapper instead :stuck_out_tongue:

rishi