[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

1102.0. "ilvtoobig problem" by DGOSW0::GUESDON () Thu Jun 06 1991 11:46

    We've got again some problems while accessing records attributes:
    
    When we type a "SHOW" command with the FCL PM, we have sometimes (not
    always) the following message:
    
    	ILVTOOBIG - No more room in buffer for additional values.
    
    We have this message each time we try to use the SHOW command through
    the ICONIC MAP PM.
    
    Can someone give me some advises on how we can solve this problem ?
T.RTitleUserPersonal
Name
DateLines
1102.1record lengthDGOSW0::GUESDONThu Jun 06 1991 11:491
    I've forgotten in .0 to say that our record is 527 bytes long...
1102.2VERNA::V_GILBERTThu Jun 06 1991 13:157
Can you be more specific about what you are trying to do in the
Iconic Map:

	Are you doing a show of a partition or a show current value of
	a particular attribute or what?

Verna
1102.3DGOSW0::GUESDONThu Jun 06 1991 16:092
    We're doing a "SHOW <my specific entity> ALL <partition>" ... by clicking the
    appropiate menu of DECwindows.
1102.4VERNA::V_GILBERTThu Jun 06 1991 16:578
Do you mean that you are setting Operation Mode to listbox and then selecting
from the operation list box the operation show and then each of the partitions 
for this entity, thus bringing up several management windows.

If so, try doing each show operation separately to see which is giving you
the problem.

Verna
1102.5ilv buffer not large enoughTOOK::HAOFri Jun 07 1991 11:5612
    I can't tell whether the ILVTOOBIG message is coming from the PM
    itself, or whether it's being returned by your module.  In general,
    I believe the message means that the ILV buffer is not large enough
    to contain the values that you are trying to encode.  Since this is
    a SHOW command, my guess would be that your module tried to encode
    values into out_p, and ran out of space.  This status is returned
    from one of the mcc_ilv_put routines.  Is your module catching this
    status and making sure to return MCC_S_INSUF_BUF to the PM and
    specifying the out_p size that you need?
    
    Christine
    
1102.6the status is normalDGOSW0::GUESDONWed Jun 12 1991 06:307
    1. I'm not using the list box in this precise problem, so the SHOW
       command is trying to access only one partition.
    
    2. We have no error message from the ILV routines that we are using in
       our module (anyway we have put the apropriate tests in it). So we
       suppose that the problem doesn't come from our AM...
    
1102.7a couple of testing suggestionsTOOK::KOHLSRuth KohlsWed Jun 12 1991 20:1219
    
>    2. We have no error message from the ILV routines that we are using in
>       our module (anyway we have put the apropriate tests in it). So we
>       suppose that the problem doesn't come from our AM...
>    

The error MCC_S_ILVTOOBIG only comes from ILV or ASN routines. 

I really think it is most likely coming from the AM in this case -- that is a
large record. I would suggest that after the mcc_ilv_put_param_end call
succeeds, you dump the encoded buffer with mcc_ilv_dump.  That will show that
the AM is indeed correct and what the encoding looks like. 

You might also try testing with FCL and turning on the log bit that will dump
the ilv encoding --please check this! but I think its MCC_FCL_LOG set to 8.
that will allow you to see whether the record is coming back through the call
interface correctly. 

Ruth
1102.8one more thing...TOOK::KOHLSRuth KohlsThu Jun 13 1991 12:179
Christine,

>    This status is returned
>    from one of the mcc_ilv_put routines.  

The ILVTOOBIG status can also be returned by mcc_ilv_get.  

Ruth    

1102.9define mcc_fcl_pm_log 8TOOK::CALLANDERJill Callander DTN 226-5316Fri Jun 14 1991 13:460
1102.10Problem with desframe routine ?DGOSW0::GUESDONMon Jun 17 1991 13:109
    We had already seen the output ILV by defining mcc_fcl_pm_log to 8, and
    the ILV coding seemed to be correct...
    
    But since my preceeding note, we noticed that the problem comes from
    the mcc_desframe_set_cvr_and_reply: if we build by ourselves the outp
    parameter (i.e. we don't use the design framework routine), this problem
    disappears.
    
    But now we have got the problem described in note 1103 ... 
1102.11which part of 1103?TOOK::CALLANDERJill Callander DTN 226-5316Mon Jun 17 1991 19:400
1102.12Note 1103.0 (unexpected info message)DGOSW0::GUESDONTue Jun 18 1991 03:511
    
1102.13TOOK::CALLANDERJill Callander DTN 226-5316Mon Jul 08 1991 13:164
sorry for the delay in responding, I have been out. 

Just curious, did you resolve the unexcepected info problem?