[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

547.0. "Should V1.1 support sub-range?" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Wed Dec 12 1990 19:56

With the T1.1.0 kit, an mcc_ilv_put of a DT_SUBRANGE value results in

%MCC-F-ILVNOTIMPLYET,  ILV hasn't implemented this ASN.1 type yet

A release note or a code change is called for, as appropriate.

T.RTitleUserPersonal
Name
DateLines
547.1use the basetypeTOOK::HAOThu Dec 13 1990 12:1410
    Richard,
    
    When ilv encoding a Subrange datatype, use the base type in the
    mcc_l_dt field instead of MCC_K_DT_SUBRANGE.  For example, if in
    your MSL, you have:  TYPE myint = 1 Integer8 [5..10], then use
    MCC_K_DT_INTEGER8.  This is how the PMs are supporting Subrange
    datatype.
    
    Christine
    
547.2Is this the right strategy?COOKIE::KITTELLRichard - Architected Info MgmtThu Dec 13 1990 13:307
Thanks Christine.

So the strategy is that the DT is still sub-range in the dictionary, and
the PMs will do range valdidation on input, but we move the values through
ILV as the base-type?

547.3yup...TOOK::HAOFri Dec 14 1990 12:424
    You got it!
    
    Christine