|
#1
|
|||
|
|||
|
How to override stderr in RPG ILE pgm?
Hi,
I have an issue with the C error messages appearing on the screen for a short time when calling a C function from the RPG pgm. I'm analysing the error code in my RPG PGM so everything is under control. The only question is how to prevent the error message text from being displayed on the screen ? I assume that the C functions just send the messages to the stderr output so it needs to be redirected somehow. May be there is another way. Basically I just don't want the messages to be displayed. Example of the message I have:"AXIS EXCEPTION: ( 66 ) AxisParseException: Error when getting the byte stream from the transport. HTTPTransportException: Input streaming error while reading from channel. Error is 3426 - A connection with a remote socket was reset by that socket. " Thank you. |
|
#2
|
||||
|
||||
|
Code:
OVRDBF FILE(STDERR) TOFILE(QTEMP/SOMETHING) |
|
#3
|
|||
|
|||
|
Scott,
it is possible to do this by using C API functions rather then OVRDBF? May be by overriding the _C_IFS_stderr with something? |
|
#4
|
||||
|
||||
|
Hmm... not that I'm aware of?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|