[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

3000.0. "ILV Encoding of SEQUENCE OF RECORD" by CCIIS1::ROGGEBAND () Fri May 15 1992 09:32

    Hi, 
    
    This is a "just_making_sure_I_got_it_right" question :
    
    I'm encoding a response to SHOW with somewhere in the list an
    attribute which is defined in MSL as SEQUENCE OF RECORD
    
    I open my attribList with mcc_ilv_put_cons_begin in list mode (right so
    far ?)
    
    I then open another construction for the sequence,
    
    and then open / close as many constructions as there are records.
    
    When I encode a single record, I open it in native mode (still right ?)
    
    My question is : what about the sequence construction ? Should that be
    opened in native or list mode ? 
    
    Thanks,
    
    Philippe.
T.RTitleUserPersonal
Name
DateLines
3000.1I did it beforeHLRG02::SYSTEMDECmcc PABX AM developmentMon May 18 1992 12:1728
Hi Philippe,


>>    I'm encoding a response to SHOW with somewhere in the list an
>>    attribute which is defined in MSL as SEQUENCE OF RECORD

>>    I open my attribList with mcc_ilv_put_cons_begin in list mode (right so
>>    far ?)
 
Yes this is right.

>>    I then open another construction for the sequence,
    
>>    and then open / close as many constructions as there are records.
    
>>    When I encode a single record, I open it in native mode (still right ?)

Yes it is still right.

>>    My question is : what about the sequence construction ? Should that be
>>    opened in native or list mode ? 

This should be opened in native mode.


Good luck

/-/  Henk van Steeg
3000.2We're all right TOOK::KOHLSRuth KohlsTue May 19 1992 13:4343
>   
>    This is a "just_making_sure_I_got_it_right" question :
>

You've got it right, -.1 has it right.  I have a little bit of 
information to add.
    
>    I'm encoding a response to SHOW with somewhere in the list an
>    attribute which is defined in MSL as SEQUENCE OF RECORD
>    
>    I open my attribList with mcc_ilv_put_cons_begin in list mode (right so
>    far ?)

Right.  To make a construction of data type attrib_list, the construction 
is opened in "List mode".  Constructions of ALL other data types are opened 
in "Native mode".

>    
>    I then open another construction for the sequence,
>    
Note:
This construction is not an attrib_list, so it is opened in "Native mode".

>    and then open / close as many constructions as there are records.
>    

Right, all in "Native mode", unless they are of data type attrib_list.

>    When I encode a single record, I open it in native mode (still right ?)
>    

Right.  The mode used when the construction is opened must match the mode used
when it was made.

>    My question is : what about the sequence construction ? Should that be
>    opened in native or list mode ? 

It was made with Native mode, open it in Native Mode.

Regards,

Ruth Kohls