Fun with Messages (was Re: New DCL qualifier suggestion.)
- From: Peter Weaver <info-vax@xxxxxxxxxxxxxxxxxxx>
- Date: 27 Apr 2007 15:12:43 -0700
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
.
- References:
- New DCL qualifier suggestion.
- From: BaxterD
- New DCL qualifier suggestion.
- Prev by Date: Re: Set terminal/inquire in SYLOGIN
- Next by Date: Re: Medical software vendor says it won't support OS on Itanium-based servers
- Previous by thread: Re: New DCL qualifier suggestion.
- Next by thread: Re: New DCL qualifier suggestion.
- Index(es):
Relevant Pages
|