[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5565.0. "MIB with negativ values" by ZUR01::SCHNEIDERR () Mon Sep 06 1993 11:09

hello

I have a MIB question.In the original MIB we have some lines like:



pppLCPState OBJECT TYPE
        SYNTAX INTEGER {
                not-availible(-1),     <--- inportant line
                lcp-CLOSED(0),
                lcp-LISTEN(1),
                ....
                }


This gives us the MS file

        .....
                not-availible=1		<---- important lines
                lcp-CLOSED=0		   |
                lcp-LISTEN=1		<---
        ....


You see, we have two times the value 1. After that the Dictionary-update
crashes. Does the MIBcompiler understand negativ values?


Regards Roland
 
T.RTitleUserPersonal
Name
DateLines
5565.1MOLAR::YAHEY::BOSETue Sep 07 1993 11:219
	Roland,

	DECmcc does not support negative values in enumerations. You will
	have to comment out the enumeration in the mib before translating
	it. This means you will see the actual integer value displayed for
	the attribute rather than the associated text.

	Rahul.
5565.2Thanks, a last questionZUR01::SCHNEIDERRWed Sep 08 1993 02:5714
Rahul.


Thanks !!!
I'm not very familiar with the ASN1. Maybe after all the MIB problems I had 
till now I should learn it (maybe during night I will find some time).

What do you mean by:

>   This means you will see the actual integer value displayed for
>   the attribute rather than the associated text.


Regards Roland
5565.3MOLAR::YAHEY::BOSEWed Sep 08 1993 12:4612
	I mean you will see something like

	
		pppLCPState     = -1

	instead of 

		pppLCPState	= not-available


	Rahul.