Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I want to write the System Output in an file
and the System Errors in an another file. I
write the following code:DEFINE SYS$ERROR "syserr.txt"
DEFINE SYS$OUTPUT "sysout.txt"But it write the system errors in
syserrorfile("syserr.txt) and in sysoutput
file(sysout.txt) too. Can you say me, how can
I solve that problem? Thanks im behaviur.

Can You give more details on the commands You see this behaviour ?
On my system DCL commands do what is expected, they separate error/standard output (like "show sys", or an unknown command).There might be different utilities doing it different.
It seems that e.g. programs written in DECC output in both sys$error and sys$output if doing printf to stdout, as do TCPIP services.
Joseph Huber, http://www.huber-joseph.de
http

I have to correct my statement about DECC and TCPIP: on my system they also work correctly, separate standard output and error output.
Could You show us which command or program does misbehave like You reported ?
Joseph Huber, http://www.huber-joseph.de
http

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |