[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

3336.0. "Optional fields in Records" by CCIIS1::ROGGEBAND (_ �hili��e _) Fri Jul 10 1992 06:08

Hi,

I'm trying to ILV-encode the equivalent of OPTIONAL fields in ASN.1. These
fields are part of a RECORD structure. If I omit the field, the FCL PM is
quite tolerant about it and simply displays the specified fields (which
is what I want). Unfortunately, the Iconic Map doesn't seem to like this
too much and pops up an error windows which  says "IMPM Internal Error",
and leaves the window in which my attributes should be displayed completely
blank.

Is this fixed in some way in V1.2 ? Is there any other way to encode
something optional ? I tried to ILV_PUT a null length field, a null address
but these just give an Invalid descriptor status.

Regards,

Philippe.
T.RTitleUserPersonal
Name
DateLines
3336.1VERNA::V_GILBERTFri Jul 10 1992 10:237
Philippe,

The Iconic Map always expects to receive ALL fields of a record.  The concept
of returning only some of the fields is simply not implemented in V1.2.  All
fields are required.

Verna
3336.2CCIIS1::ROGGEBAND_ �hili��e _Fri Jul 10 1992 11:5110
    Verna,
    
    This means that it is virtually impossible to implement optional
    information. If the FCL can handle it, why can't the Iconic Map simply
    put out a "Field not returned" message next to the field name ? It can
    do it for attributes, so I don't believe it would be that complex to
    implement it for individual fields.
    
    �hR.
    
3336.3VERNA::V_GILBERTFri Jul 10 1992 16:0917
Phillippe,

First of all, the FCL and the Iconic Map handle outp in different ways.
FCL simply displays what is returned in outp whereas the Iconic Map prepares
a form with what it expects to be returned (prior to decoding outp).  Then
after all is decoded, it adds messages for extra information returned and
for information expected but not returned.  So somewhat different philosophy
for each PM.

As far as adding the functionality, no one said it would be "that" complex,
but nonetheless it is one more thing to be coded, tested, etc.  If it is
very important to your project, that information should be passed on to the
appropriate people (Gail Ferriera, Dan Carr among others).

At this point, we have not added a task for the above.

Verna
3336.4We're not talking about V1.2 any moreTOOK::MINTZErik Mintz, dtn 226-5033Fri Jul 10 1992 16:146
And for the record, V1.2 is safely in SSB, so there will be no further
changes until the next version.  But since planning for follow-on
versions is in progress, now is the time to provide input (see Verna's reply).

-- Erik