PMP Mail Archive: Re: PMP> Several indexes need ranges according to SMICng

Re: PMP> Several indexes need ranges according to SMICng

Tom Hastings (hastings@cp10.es.xerox.com)
Wed, 30 Jul 1997 10:24:13 PDT

Lloyd,

I checked with the developer and you only need to add the
range to the SYNTAX clause (4 places). You don't need it in the
SEQUENCE clause too.

prtInputIndex does have a range on the SYNTAX, as do most of the
other Indexes and they are all (1..65535).

The range for prtInputIndex is (1..65535), so it does use the sign bit
of a 16-bit integer. So presumably all the other 4 indexes should
have the same range added in their SYNTAX clauses:

prtOutputIndex, PrtChannelIndex, prtInterpreterIndex and prtAlertIndex.

Tom

At 05:27 07/30/97 PDT, lpyoung@lexmark.com wrote:
>
>My original plan was to publish all final changes to the printer
>MIB by today. However Tom's note (below) may delay that slightly.
>
>Tom,
>This is a new error message to me so I do not know exactly
>what it means. Did the compiler tell you anything other than
>what you have below? Was this a warning or an error? I am not
>really sure what the phrase "Index item must be defined with
>syntax that includes a range" really means.
>
>Lloyd
>
>--- Forwarded by Lloyd Young on 07/30/97 07:14 AM ---
>
>From: hastings%cp10.es.xerox.com@interlock.lexmark.com
>07/29/97 01:04 PM
>To: pmp%pwg.org@interlock.lexmark.com
>cc: (bcc: Lloyd Young)
>Subject: PMP> Several indexes need ranges according to SMICng compiler
>
>
>
>The new version of SMICng notes errors in the Printer MIB for "Index item
>must be defined with syntax that includes a range."
>
>The particular index objects that give this error are prtOutputIndex,
>PrtChannelIndex, prtInterpreterIndex and prtAlertIndex.
>
>
>
>