Computing.Net > Forums > OpenVMS > SYS$OUTPUT and SYS$ERROR

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SYS$OUTPUT and SYS$ERROR

Reply to Message Icon

Name: lernen.2007
Date: February 8, 2009 at 05:03:01 Pacific
OS: Windows XP
Subcategory: General
Comment:

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.




Sponsored Link
Ads by Google

Response Number 1
Name: Joseph.Huber
Date: February 9, 2009 at 01:44:54 Pacific
Reply:

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


0

Response Number 2
Name: Joseph.Huber
Date: February 11, 2009 at 06:45:17 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: SYS$OUTPUT and SYS$ERROR

to write system errors into a file www.computing.net/answers/openvms/to-write-system-errors-into-a-file/324.html

Change Password in DCL www.computing.net/answers/openvms/change-password-in-dcl/552.html

OpenVMS parameters in procedures www.computing.net/answers/openvms/openvms-parameters-in-procedures/582.html