[tkined] mib error messages, part 2.

Michael Landman (mlandman@avici.com)
Wed, 08 Jul 1998 16:25:24 -0400

irritating newbie here:

using the mib load command, I note that some error messages, like the one I
described in my previous email, are non-fatal.

If, in my tcl script, I wanted to have "access" to that error message, how
the heck can I get at it?

For example,

"mib load <filename>" normally returns nothing, if there is no errors.

"mib load <filename>" might return: "<filename>: no parent <x> for node
<y>" if there was some non-fatal error processing the file.

However, TCL_ERROR is not really set in this case, and "catch" always
returns 0. If I wanted to "know" in my tcl script that I received such an
error, does anybody know how this can be done??

Thanks in advance, and sorry for the flurry of newbie questions.. (I do
check the faq.)

**
Michael Landman
Principal Network Engineer
Avici Systems, Inc. (978) 250-3344 x393
mlandman@avici.com http://www.avici.com

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.