[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

42.0. "MSL PROBLEM" by TENERE::DUNON (Paul Dunon - Telecom Engineering - VBO) Thu Jan 25 1990 11:16

It seems that the MSL does not support a multi-word keyword value in the
IDENTIFIER definition of an entity definition.

Example:

	SUBORDINATE ENTITY xyz = 1 :
	   SUPERIOR = ( zyx ),
	   IDENTIFIER = ( the name ),
	   ...

	   IDENTIFIER ATTRIBUTES

		ATTRIBUTE the name = 1 : SimpleName
		...


The MSL message is:

	ERROR: Identifier the namefor Class xyz,
	was never defined as an IDENTIFIER ATTRIBUTE.
	Scan of MS file has completed with errors, check error file.


If I replace "the name" with "the_name", it works.


Is it a known problem or do I miss something in the SRM ?

			-- Paul
T.RTitleUserPersonal
Name
DateLines
42.1This will be qaredGOSTE::CALLANDERSun Jan 28 1990 16:535
    We have not come across this in our development, since we do not
    have multi keyword identifier attributes. I will add this as a
    qar against the MSL translator.
    
    sorry for the inconvenience.
42.2problem in .COM generated by MSLTENERE::DUNONPaul Dunon - Telecom Engineering - VBOMon Jan 29 1990 12:5121
When I run the DAP and try to populate the dictionnary with the .COM file
produced by the MSL, I get the following message:

%MCC-E-NOPARENT,  Parent entity doesn't exist
%DAP-I-LINENUMB, At or near line number 970.
%DAP-I-CMD_LINE, Command: CREATE CLASS UAL  SUBCLASS DESTINATION CODE 2
%MCC-E-NOPARENT,  Parent entity doesn't exist

It seems that the global entity class is missing in the DAP command. If I
type the same command with the global class name in, it works:
DAP>CREATE CLASS SMS SUBCLASS UAL SUBCLASS DESTINATION CODE 2

Am I missing something in my MSL source code ?

The problem is the same for all the second-level subordinate entity classes.

A similar problem exists with the USE CLASS command.

Thanks for your help,

				-- Paul
42.3Is your SUPERIOR statement correct?SCRPIO::LIZBICKIMon Jan 29 1990 20:0415
   It looks to me like you are trying to define the following:

		SMS
		 |
		UAL
		 |
	      DESTINATION

   In your MSL, the "SUPERIOR" line for each entity must include a list
   of all superior entities.  So the superior line for your DESTINATION 
   entity would be as follows:

	       SUPERIOR = (SMS, UAL)
 
42.4OK thank youTENERE::DUNONPaul Dunon - Telecom Engineering - VBOTue Jan 30 1990 08:065
OK, you're right ...

and it's clearly explained in the SRM !

				-- Paul
42.5Another MSL translator queryMARVIN::GUMBMurphy's Laws always workMon Feb 12 1990 22:0042
Dear Mod,

Please put this note in it's rightful place if there is a specific slot
for msl translator queries...

Here's my query:

I have an MSL wich contains the following definition:

TYPE
CircuitType = 5 (
                802.3 = 0,
                DDCMP = 1,
                HDLC = 2,
                X.25 Static Incoming = 3,
		X.25 Static Outgoing = 4,
                X.25 DA = 5,
                X.25 Permanent = 6 );

This produces the following in the .com file :

SET DEFINITION CODE 23 - 
       TYPE T -
       COUNT 1 -
       LENGTH 150 -
       DEFINED TRUE -
       USAGE TLV -
       VALUE -
	( -
		0 = "802.3", -
		1 = "DDCMP", -
		2 = "HDLC", -
		3 = "X . 25 Static Incoming", -
		4 = "X . 25 Static Outgoing", -
		5 = "X . 25 DA", -
		6 = "X . 25 Permanent" -
	 )
!	 ! MCC$K_DT_ENUMERATION
	
Are the spaces for the X.25 definitions supposed to be there ?

John Gumb
42.6periods in enumerations fixed.TOOK::L_GROSSMANTue Feb 13 1990 11:545
    
    The problem with periods in enumerations stated in the previous
    reply has been fixed in base level X0.09.2. No spaces should be
    added around the period. This will also be included in external
    field test.