:help hpmsgfence
HPMSGFENCE A variable used by the CI that controls the output for all
CI errors, warnings and skipped commands. Skipped commands
refer to commands that are not executed by the CI because
they follow a conditional expression that evaluated FALSE.
HPMSGFENCE is divided into 2 fields, 3 bits each in size.
The low order field (bits 29..31) controls the output of
CI error and warning messages as:
0 = display all CI errors and warnings
1 = show only errors, warning are suppressed
2 = suppress all CI errors and warning messages.
The next field (bits 26..28) controls the output of
skipped commands and the "*** EXPRESSION FALSE: ...",
"*** EXPRESSION TRUE: ...", and "*** RESUME EXECUTION OF
COMMANDS" messages:
0 = show all skipped commands and the above "***..."
messages
1 = show only the "***..." messages, suppress commands
that are skipped. Integer value is 8.
2 = suppress the skipped commands and the "***..."
messages. Integer value is 16.
Combining the two fields results in the following table of
HPMSGFENCE values:
0 show "***", skipped commands, CI warnings, CI errors
1 show "***", skipped commands, no CI warnings, CI errors
2 show "***", skipped commands, no CI warnings, no CI errors
8 show "***", no skipped commands, CI warnings, CI errors
9 show "***", no skipped commands, no warnings, CI errors
10 show "***", no skipped commands, no warnings, no CI errors
16 no "***", no skipped commands, CI warnings, CI errors
17 no "***", no skipped commands, no CI warnings, CI errors
18 no "***", no skipped commands, no CI warnings, no CI errors
The initial value for HPMSGENCE is 0, which shows all errors,
warnings and skipped commands.
Type= Read/Write, Integer, CI local
___
Donna Hofmeister, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
>>>MY opinions, not Longs Drug Stores'<<<
----- Original Message ----
From: Ray Shahan <[log in to unmask]>
To: [log in to unmask]
Sent: Friday, January 26, 2007 8:42:49 AM
Subject: [HP3000-L] How to catch CIERROR before it's displayed
Hi all,
It seems like I ought to know this but can't recall how to
do it. I'm doing an MPE INPUT statement with the WAIT parm, and when
the INPUT times out, I get the CIERROR 9003. I don't want the CIERROR
to display - I want to trigger an action if the INPUT times out, and not
have the error display.
Here's my code snippet:
INPUT FILES_TO_COPY, &
"Enter file set to copy (ex: A@, JHK@)<@> "; &
DEFAULT=@;WAIT=25
IF CIERROR=9003
ECHO
ECHO Function cancelled
DLETEVAR FILES_TO_COPY
RETURN
ENDIF
TIA for any help, and have a great weekend!
<http://www.republictitle.com/>
Raymond Shahan
Computer Programmer
REPUBLIC TITLE OF TEXAS, INC. <http://www.republictitle.com/>
2701 W Plano Parkway
<http://maps.yahoo.com/maps_result?addr=2701+w+plano+parkway&csz=75075&c
ountry=us&new=1&name=&qty=>
Plano, TX 75075
direct 214.556.0202
main 972.578.8611
fax 972.424.5621
www.republictitle.com <http://www.republictitle.com/>
[log in to unmask]
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|