Operating System - OpenVMS
1748119 Members
3395 Online
108758 Solutions
New Discussion юеВ

Re: How do I turn off output and then back on for system messages to a DECterm?

 
SOLVED
Go to solution
Kenneth Toler
Frequent Advisor

How do I turn off output and then back on for system messages to a DECterm?

How do I turn off output and then back on for system messages to a DECterm?

I am running a COM file and do not want the end-user to see system messages on the DECterm.

Can SET TERM/NOECHO be used or is there another way to do this?
6 REPLIES 6
Peter Quodling
Trusted Contributor

Re: How do I turn off output and then back on for system messages to a DECterm?

Explain what you mean by System Messages? to most of us, reply/disable (as opposed to reply/enable) would do this for system operator messages.

Or are you looking at reducing the detail in normal error/warning messages?

Please explain.
Leave the Money on the Fridge.
Andy Bustamante
Honored Contributor
Solution

Re: How do I turn off output and then back on for system messages to a DECterm?


$ SET VERIFY and $ SET NOVERIFY to enable/disable echo. You may also want to redirect sys$error

If you want more control over the display, you can also redfine SYS$OUTPUT and/or SYS$ERROR. For example:

$ DEFINE SYS$OUTPUT USER.LOG
$ DEASSIGN SYS$OUTPUT



Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Kenneth Toler
Frequent Advisor

Re: How do I turn off output and then back on for system messages to a DECterm?

A sample is when I mount a floppy:

mount/for $100$dva0:

When the floopy is inserted, I get the following message:

%MOUNT-I-MOUNTED, mounted on $100$dva0:

When the floppy is not there, I get a fatal "-F-" message.

How can I turn off these messages and then turn them back on again?
Uwe Zessin
Honored Contributor

Re: How do I turn off output and then back on for system messages to a DECterm?

I think you want to use:

$ set message /noFACILITY /noSEVERITY /noIDENTIFICATION /noTEXT

- leave off the 'no' to re-enable.
.
David Jones_21
Trusted Contributor

Re: How do I turn off output and then back on for system messages to a DECterm?

$ msgsettings = f$environment("MESSAGE")
$ set message /nofac/nosever/noident/notext
$ {command}
$ set message 'msgsettings'
I'm looking for marbles all day long.
Mike Reznak
Trusted Contributor

Re: How do I turn off output and then back on for system messages to a DECterm?

Hi,

DCL guide.

http://h71000.www7.hp.com/doc/82FINAL/9996/9996pro_201.html#brass_72

Mike
...and I think to myself, what a wonderful world ;o)