Subject: | |
From: | |
Reply To: | |
Date: | Wed, 19 Nov 1997 12:28:59 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Richard Corn writes:
> When you execute an MPE IF statement, MPE generates output to STDLIST
> indicating the result of the IF statement and commands being skipped or
> not and so on. Doe anyone know of a way to suppress this output from
> the IF statment and associated statements like ELSE and ENDIF...
This sounds like an item for the FAQ.
There was thread on this from January 1997, where Jeff Vance announced
an enhancement to the HPMSGFENCE that will suppress these. Unfortunately,
this missed the "LISTF,access" patch, so it has been submitted for
MPE/iX 6.0
To find the thread, search the archives
<http://raven.utc.edu/SCRIPTS/WA.EXE?S1=hp3000-l>
with entries
Search for: skipped cmds
Since.....: 1997-01-01
For now, it's a bit of a pain, but you can put the IF statement
in a command file and execute that, redirecting $STDLIST to $NULL.
For example:
myif:
if hpday = 2
xeq mysj
else
xeq myst
endif
mysj:
showjob status
myst:
showtime
If you then invoke 'myif' via
:xeq myif > $NULL
then the "audit trail" statements do NOT appear on $STDLIST,
but the output from 'mysj' or 'myst' DOES.
This technique was suggested by Dave Gale in a similar November 1996
(disjointed) thread (mis)named MPEX command file help. (It was about
MPE command files, not MPEX.)
--Glenn Cole
Software al dente, Inc.
[log in to unmask]
|
|
|