Fun with Messages (was Re: New DCL qualifier suggestion.)



On Apr 24, 9:36 am, Baxt...@xxxxxxxxxx wrote:
...
I know that I can get rid of these messages by doing a
conditional delete (i.e. if f$search("filename") .nes. "") or by
turning off messaging, however the first option requires a lot of
extra code to do the condition checking, and the second option is to
generic.
...

Third option is to modify the messages you don't care about;

.FACILITY RMS,1/SYSTEM
.FACILITY DELETE,147/SYSTEM
.FACILITY PURGE,148/SYSTEM
.BASE 82
FNF <Ignore this error, Dave doesn't care>/ERROR
.FACILITY SYSTEM,0/PREFIX=SS$_/SHARED/SYSTEM/MACRO=
$SSDEF
.BASE 581
NOFILPURG <Ignore this error, Dave doesn't care>/INFORMATIONAL
.BASE 583
SEARCHFAIL <Ignore this error, Dave doesn't care !AS>/FAO=1/
WARNING
.end

or option 4

.FACILITY RMS,1/SYSTEM
.FACILITY DELETE,147/SYSTEM
.FACILITY PURGE,148/SYSTEM
.BASE 82
FNF <>/ERROR
.FACILITY SYSTEM,0/PREFIX=SS$_/SHARED/SYSTEM/MACRO=
$SSDEF
.BASE 581
NOFILPURG <>/INFORMATIONAL
.BASE 583
SEARCHFAIL <>/FAO=1/WARNING
.end

then turn off the facility, ident and severity but leave the text
enabled. These three messages will then print nothing at all while
other errors will show you the text.

$ puge x.x ! Standard Message
%PURGE-I-NOFILPURG, no files purged
$ set message /nofac/nosever/noident/text
$ pur x.x ! Text only
No files purged
$ set mess /fac/sever/ident dave3
$ pur x.x ! Dave's Custom message which can be ignored by his error
checking job
%PURGE-I-NOFILPURG, Ignore this error, Dave doesn't care
$ set mess dave4 /nofac/nosever/noident/text
$ pur x.x ! no Message because the text is blank
$ set message /fac/sever/ident/text dave3
$ delete thisfileisnothere.*;*
%NONAME-W-SEARCHFAIL, Ignore this error, Dave doesn't care
thisfileisnothere.*;*
-RMS-E-FNF, Ignore this error, Dave doesn't care
$ set message /nofac/nosever/noident/text dave4
$ delete thisfileisnothere.*;*
$

Peter Weaver
www.weaverconsulting.ca
CHARON-VAX CHARON-AXP DataStream Reflection PreciseMail HP Commercial
Hardware


.



Relevant Pages

  • Re: Ping Lesley
    ... More and more I am realising how overwhelmed I am, Dave usually does ... care when it looks like he is getting fit to go home. ... Home care here in Leics will not do cleaning if there is a partner in the ... I've been out of adult work since ...
    (rec.pets.cats.anecdotes)
  • Re: Pointless Friendlies
    ... Now now, Dave, Don't think we haven't noticed! ... Trouble is, I'm not suffering. ... I don't care about synchronised swimming. ... the biggest contributers about NZ rugby, one can only conclude by your ...
    (rec.sport.rugby.union)
  • Not about the late show
    ... She is a lovely African American woman who is the President of ... If she was Asian or Hispanic, they wouldn't care. ... Well I see how Dave treat some of ... the black female guest on the show. ...
    (alt.fan.letterman)
  • Re: Not about the late show
    ... saying about the relationship. ... If she was Asian or Hispanic, they wouldn't care. ... Well I see how Dave treat some of ... the black female guest on the show. ...
    (alt.fan.letterman)
  • Re: Not about the late show
    ... saying about the relationship. ... If she was Asian or Hispanic, they wouldn't care. ... Well I see how Dave treat some of ... the black female guest on the show. ...
    (alt.fan.letterman)