[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

2048.0. "mcc_dap problems on ULTRIX EFT 1.2.4" by MANWRK::PORTEOUS () Wed Jan 08 1992 04:40

    We are having problems using mcc_dap on the ULTRIX EFT v1.2.4. The
    problem is that after we load our .com file then unless we do a full
    rebuild on the parse table then we cannot perform an update.
    
    To expand the series of operations is :-
    
    1: Install MCC
    
    2: Load our .com file
    
    	mcc_dap> load from AM_mgmt.com
        mcc_dap> load from AM_srvc.com
        mcc_dap> exit
    
    3:  mcc_dap then rebuilds part of the parse table
    
    4: Update our .com file
    
    The following is the actual operation and error:-
    
    DAP>  update class ultrix from mcc_ULTRIX_am_srvc_if.com
     %MCC-E-NOENTITY,  no corresponding entity instance exists
    DAP> exit
    
    Class ultrix does exist as it operates correctly and responds to
    the show directive etc. If we do a rebuild after the load then we
    can perform the update OK.
    
    When the error condition occurs as in point 4 then mcc_dap does not exit
    but hangs.
    
    My Questions are as follows :-
    
    1: Why does the update fail if we do not perform a rebuild.
    2: Why does dap hang after the update fails
    3: Does the delete option still exist it appears to work but
       is not documented ( if it ever was ? ) 
    
    Are we seeing a mcc_dap problem or could this be caused by problems in
    our .ms file                                             
    
    ( Versions are DECmcc EFT 1.2.4, ULTRIX 4.2 on a DS3100 ) 
    
    J.Porteous
    OSEC Manchester
T.RTitleUserPersonal
Name
DateLines
2048.1Need more information... Need more information... DFLAT::PLOUFFEJerryWed Jan 08 1992 10:2446
RE: .0

  First of all, let me say that I tried to reproduce your problem (using the
  DOMAIN class) but was unsuccessful.  I need more info:

    1.) A log of the exact DAP commands executed.
    2.) In the log include the following commands:
      a.) Do an "Env" command before running DAP to show me your
          environmental variables.
      b.) Do appropriate SHOW commands so that I can see the state
          of the dictionary before and after the load and update 
          commands.
    3.) You might need to send me the actual DAP command files (not the .MS
        file just yet) you are using.

  How long did you wait when you thought DAP hung?  If you are using a full
  dictionary for your updates, it might take a long time to do a partial update
  -- please wait at least 5-10 minutes if you can.

  Why were the DAP command files for the LOAD command different from the one 
  used for UPDATING the class?

  Please send as much of this information to me directly at (molar::plouffe)
  or call me at DTN: 264-4913.

  Finally, concerning your questions...

  >  My Questions are as follows :-
  >
  >  ...  
  >
  >  3: Does the delete option still exist it appears to work but
  >     is not documented ( if it ever was ? )

  I can't answer your first two question yet, because I can't reproduce your
  problem, but I can answer the third.

  Yes, the DELETE command exist, and it is not longer any big secret, and
  yes, it remains undocumented.  I just fixed two bugs in the DELETE command
  and I know of two more, so it will not become a documented command until
  after I clean up the known problems and I am confident that it works well.
  If you need to use it, contact me directly and I'll fill you in on the 
  command syntax, known problems and all the appropriate disclaimers that,
  of course, will deny any official responsibility on our part! ;)

                                                                     - Jerry
2048.2Its all caused by control-cMANWRK::PORTEOUSThu Jan 09 1992 04:4321
    Thanks Jerry,
    
    I think all the problems mentioned in the base note were caused by me
    typing a control-C when mcc_dap appeared to hang. 
    
    After a load command, when dap exits then a message appears quickly
    giving the impression that things are working. If I do an update and
    then an exit no message appears for 15 minutes. This has obviously
    confused the hell out of me!.
    
    If I do a control-c this appears not to clean up properly and leaves
    the dictionary in an indeterminate state.
    
    My problems occur during an installation script of our software, if the
    screen just goes blank for 15 minutes I think the user will do the same
    as me and control-c the installation.
    
    If you need the .com file etc then mail me direct MINDER::PORTEOUSJ
    
    
    Thanks John
2048.3Yes, I think I understand...DFLAT::PLOUFFEJerryThu Jan 09 1992 12:0030
John:

  I think I understand your confusion.  

  When you execute an UPDATE command, the first thing DAP tries to do is 
  to DELETE the class you specified.  This can take a long time and no working
  message is displayed.  After the delete finishes, the new file is loaded.
  This stage does produce a working message.

  When you execute a LOAD command, DAP doesn't have to DELETE any class,
  so it immediately tries to load in the new file and immediately displays
  a working message.
 
  I agree that this is confusing and I will add this problem to our list.

  Control C is indeed very dangerous in DAP especially if in the middle of a 
  LOAD, UPDATE or AUGMENT command.  There is a warning in the release notes
  about this.

  Your best bet right now is to start with a clean dictionary and re-execute
  your installation without cancelling the program.  If you can, time it and
  post the results here.  We are working on performance improvements and could
  use this additional data.

                                                                      - Jerry

  P.S. It shouldn't be necessary for me to get your DAP command files.