[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

3914.0. "mcc dictionary / FORMS interface difference" by SKIGOD::PFROMER (Ed Pfromer, ESM Engineering) Mon Oct 19 1992 12:33

I have a set of objects that are clearly in my dictionary, but when I display
the possible targets from the MCC FORMS interface (with a hit of the Help key),
not all the objects are listed.

I.e.

--------------------------------------------------------------------------------

   Class (1) : NODE
---> Subclass (2) : MEDIALIBRARY
       Definition (3) : PRESENTATION_NAME
       Definition (3) : INSTANCE_REQUIRED
       Definition (3) : DYNAMIC
       Definition (3) : INSTANCE_DATATYPE
       Subclass (2) : CARTYPE 59
       Subclass (2) : LABELFORMAT 74
       Subclass (2) : COORDINATORPARTITION 76

--------------------------------------------------------------------------------

      Verb: show
    Entity: node silage medialib fred
 Arguments:
Qualifiers:
                             List Of Valid Entities
    CARTYPE *
    LABELFORMAT *

(here, should have COORDINATORPARTITION too).

--------------------------------------------------------------------------------

What am I doing wrong?
T.RTitleUserPersonal
Name
DateLines
3914.1old parse table?TOOK::MCPHERSONpre-retinal integrationMon Oct 19 1992 13:3844
Sounds like parse table skew. Check that you're not using an old parse table
file.

$ direc/date mcc_system:*.bpt

/doug
      <<< Note 3914.0 by SKIGOD::PFROMER "Ed Pfromer, ESM Engineering" >>>
                -< mcc dictionary / FORMS interface difference >-


I have a set of objects that are clearly in my dictionary, but when I display
the possible targets from the MCC FORMS interface (with a hit of the Help key),
not all the objects are listed.

I.e.

--------------------------------------------------------------------------------

   Class (1) : NODE
---> Subclass (2) : MEDIALIBRARY
       Definition (3) : PRESENTATION_NAME
       Definition (3) : INSTANCE_REQUIRED
       Definition (3) : DYNAMIC
       Definition (3) : INSTANCE_DATATYPE
       Subclass (2) : CARTYPE 59
       Subclass (2) : LABELFORMAT 74
       Subclass (2) : COORDINATORPARTITION 76

--------------------------------------------------------------------------------

      Verb: show
    Entity: node silage medialib fred
 Arguments:
Qualifiers:
                             List Of Valid Entities
    CARTYPE *
    LABELFORMAT *

(here, should have COORDINATORPARTITION too).

--------------------------------------------------------------------------------

What am I doing wrong?

3914.2not parse table skewSKIGOD::PFROMEREd Pfromer, ESM EngineeringMon Oct 19 1992 14:062
Nope, already check for parse table skew.
3914.3Really!?TOOK::MCPHERSONpre-retinal integrationMon Oct 19 1992 14:2516
    Shoot!  I was sure I'd nailed that one... Not that I don't trust you,
    but would you do the following commands and post the output? :

$ sho log mcc_system

$ dir/date mcc_system:mcc*.bpt;*/date

$ man/tool/dic -
    show class node subclass medialibrary subclass coordinatorpartition 

$ man/ent show node silage medialib fred coord all attr



    Thanks
    /doug
3914.4more infoSKIGOD::PFROMEREd Pfromer, ESM EngineeringMon Oct 26 1992 14:50153
I'm unhappy to report that my pervious problem "went away".  However, I believe
I have yet another related problem.

When using the forms interface, hitting the Help key indicates that an entity
exists, but when I try to do something with that entity, MCC says:

%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-W-ATTRUNKNOWN, unknown attribute MEDIASIDE

For example:
--------------------------------------------------------------------------------
      Verb: show
    Entity: node plow branchlibrary foo cartridge foo	[Help hit here]
 Arguments:
Qualifiers:
                             List Of Valid Entities
    MEDIASIDE *

	^
	| just what I want

--------------------------------------------------------------------------------
      Verb: show
    Entity: node plow branchlibrary foo cartridge foo mediaside foo
 Arguments:
Qualifiers:
                                 DECmcc Output
                                                                                
show node plow branchlibrary foo cartridge foo mediaside foo
%MCC-I-NOPARCMD, mediaside foo
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-W-ATTRUNKNOWN, unknown attribute MEDIASIDE

Why is the parser trying to see this object as an attribute?  I don't have
any name collisions, I believe.

--------------------------------------------------------------------------------
A dump of the dictionary reveals:

   Class (1) : NODE
     Subclass (2) : BRANCHLIBRARY
-----> Subclass (2) : CARTRIDGE
         Definition (3) : PRESENTATION_NAME
         Definition (3) : INSTANCE_REQUIRED
         Definition (3) : DYNAMIC
         Definition (3) : INSTANCE_DATATYPE
         Subclass (2) : MEDIASIDE 69
         Attribute (5) : UID 14
         Attribute (5) : CREATIONTIME 16
         Attribute (5) : ACCESSESDENIED 17
         Attribute (5) : ACCESSESGRANTED 18
         Attribute (5) : NAME 28
         Attribute (5) : LOADS 30
         Attribute (5) : STAGEAREA 65
         Attribute (5) : ALLOCATIONSTATE 101
         Attribute (5) : BASE 102
         Attribute (5) : BINDLIMITSREACHED 103
         Attribute (5) : BINDTIME 104
         Attribute (5) : BINDS 105
         Attribute (5) : CARTYPE 106
         Attribute (5) : COMPONENTS 107
         Attribute (5) : DEPARTURESTATION 108
         Attribute (5) : DESTINATIONMLD 109
         Attribute (5) : DESTINATIONSTATION 110
         Attribute (5) : HOMEMLD 111
         Attribute (5) : LIFECYCLESTATE 112
         Attribute (5) : LOADLIMITSREACHED 113
         Attribute (5) : LOADEDMLD 114
         Attribute (5) : LOCATIONSTATE 116
         Attribute (5) : PARENTCARTRIDGE 117
         Attribute (5) : PARENTCELL 118
         Attribute (5) : POLICIESENABLED 119
         Attribute (5) : REQUESTERID 120
         Attribute (5) : ROBOTCARTRIDGENAME 121
         Attribute (5) : SIDES 122
         Attribute (5) : PURCHASELOT 123
         Directive (6) : SHOW 1
         Directive (6) : SET 2
         Directive (6) : CREATE 12
         Directive (6) : DELETE 13
         Directive (6) : ADD 21
         Directive (6) : REMOVE 25
         Directive (6) : GETEVENT 65
         Directive (6) : GETVARSELECTOR 124
         Attribute_Partition (11) : IDENTIFIERS 1
         Attribute_Partition (11) : STATUS 2
         Attribute_Partition (11) : COUNTERS 3
         Attribute_Partition (11) : CHARACTERISTICS 4

DAP> use subcl mediaside
DAP> show

   Class (1) : NODE
     Subclass (2) : BRANCHLIBRARY
       Subclass (2) : CARTRIDGE
-------> Subclass (2) : MEDIASIDE
           Definition (3) : PRESENTATION_NAME
           Definition (3) : INSTANCE_REQUIRED
           Definition (3) : DYNAMIC
           Definition (3) : INSTANCE_DATATYPE
           Attribute (5) : UID 14
           Attribute (5) : CREATIONTIME 16
           Attribute (5) : ACCESSESDENIED 17
           Attribute (5) : ACCESSESGRANTED 18
           Attribute (5) : LOADS 30
           Attribute (5) : LIFECYCLESTATE 112
           Attribute (5) : LOADLIMITSREACHED 113
           Attribute (5) : POLICIESENABLED 119
           Attribute (5) : SCRATCHCOLLECTIONLES 172
           Attribute (5) : SCRATCHCOLLECTIONUID 192
           Attribute (5) : MEDIASETUID 193
           Attribute (5) : MEDIASETSEQUENCENUMBER 194
           Attribute (5) : IMPORTED 195
           Attribute (5) : LABELSTATE 196
           Attribute (5) : LABELFORMAT 197
           Attribute (5) : VOLUMENAME 198
           Attribute (5) : PENDINGPREPAREOPTION 199
           Attribute (5) : PENDINGLABELFORMAT 201
           Attribute (5) : PENDINGVOLUMENAME 202
           Attribute (5) : PENDINGMEDIATYPE 203
           Attribute (5) : INITIALIZATIONTIME 204
           Attribute (5) : SCRATCHRETURNCOLLECTION 205
           Attribute (5) : SOFTREADERRORS 206
           Attribute (5) : SOFTWRITEERRORS 207
           Attribute (5) : RETENSIONTIME 208
           Attribute (5) : LOADSSINCECLEANED 209
           Attribute (5) : CLEANTIME 210
           Attribute (5) : CLEANS 211
           Attribute (5) : DISCARDTIME 212
           Attribute (5) : LASTSTATECHANGEDTIME 213
           Attribute (5) : REPACKTIME 214
           Attribute (5) : RETENSIONTIMESREACHED 215
           Attribute (5) : LOADSPERCLEANINGEVENTS 216
           Attribute (5) : DISCARDTIMESREACHED 217
           Attribute (5) : REPACKTIMESREACHED 218
           Attribute (5) : SOFTREADERRORLIMITSREACHED 220
           Attribute (5) : MEDIASETLES 221
           Attribute (5) : CLEANTIMESREACHED 222
           Attribute (5) : NUMBER 244
           Attribute (5) : SOFTWRITEERRORLIMITSREACHED 245
           Attribute (5) : MEDIATYPE 309
           Directive (6) : SHOW 1
           Directive (6) : SET 2
           Directive (6) : CREATE 12
           Directive (6) : DELETE 13
           Directive (6) : ADD 21
           Directive (6) : REMOVE 25
           Attribute_Partition (11) : IDENTIFIERS 1
           Attribute_Partition (11) : STATUS 2
           Attribute_Partition (11) : COUNTERS 3
           Attribute_Partition (11) : CHARACTERISTICS 4

3914.5are any of the entity classes instanceless?MCC1::DITMARSPeteWed Oct 28 1992 14:100