[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

2609.0. "Problem with RECORD data type" by HLRG02::STEEG (DECmcc PABX AM development) Mon Mar 23 1992 11:52

Hi

I have a problem with the following data type definition in the .MS file.
(It works with V1.1 but not with V1.2)

TYPE A = 5555 RECORD AA = 1 : Latin1String; END;

DECmcc MSL tranlator gives the message: The value ";" is not expected.


Does anybody know about this problem??
Please help!


Regards
	Henk van Steeg
T.RTitleUserPersonal
Name
DateLines
2609.1COOKIE::KITTELLRichard - Enterprise Storage MgmtTue Mar 24 1992 13:412
It is looking for END RECORD; and found the semi-colon before it saw RECORD.
2609.2TOOK::MINTZErik Mintz, DECmcc Development, dtn 226-5033Tue Mar 24 1992 14:235
There are a number of cases where the V1.2 DECmcc toolkit tools more
strictly enforce the rules defined in the SRM.  Looks like you found
one of the cases.

-- Erik
2609.3new SRM ??HLRG02::STEEGDECmcc PABX AM developmentWed Mar 25 1992 05:526
Thanks for your answers.

Can anybody tell me when the new SRM will be available.
You can't develop without the SRM.

Regards    Henk van Steeg
2609.4Another errorHLRG02::STEEGDECmcc PABX AM developmentWed Mar 25 1992 06:0719
re .1 

I tried END RECORD; but now the MSL tranlator gives the following error message:
> The value "END" is not expected.


TYPE A = 5555 RECORD AA = 1 : Latin1String; END RECORD;


What's wrong.

I also can't use:  LSE/ENV=SYS$COMMON:[SYSLIB}MCC_MSL_TEMPLATE.ENV  TEST.MS
This is because the file SYS$COMMON:[SYSLIB}MCC_MSL_TEMPLATE.ENV doesn't exist,
how can I get this file.

Please help!


Henk
2609.5Yes it works, but....HLRG02::STEEGDECmcc PABX AM developmentWed Mar 25 1992 07:0224
Because RECORD data-type didn't work, I made a little test MSL file.
When I placed END RECORD in this file it gave also an error.
But when I place END RECORD in my 'real' MSL file it workes fine.

I added my test MSL file, can anybody tell me why this file gives the error
and the 'real' MSL file not ??


Regards Henk.


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

    MANAGEMENT SPECIFICATION MCC_TEST_am_srvc_if;
       VERSION = T1.2.0;
       SYMBOL-PREFIX = MCC_;

	TYPE REC1 = 1111  RECORD	
				FIELD1 = 1 : Unsigned16; 
				FIELD2 = 2 : Unsigned16;
			  END RECORD;

    END SPECIFICATION MCC_TEST_am_srvc_if.
;
2609.6"Its elementry my dear Watson!" (check the line number)TOOK::L_GROSSMANTue Mar 31 1992 12:4525
The key is that the line number is the "END SPECIFICATION" (line 10)
not line 8. What is not very clear here is what MSL is expecting.

---------------------------------------------------------------------
L_GROSSMAN>type temp.ms
    MANAGEMENT SPECIFICATION MCC_TEST_am_srvc_if;
       VERSION = T1.2.0;
       SYMBOL-PREFIX = MCC_;

	TYPE REC1 = 1111  RECORD	
				FIELD1 = 1 : Unsigned16; 
				FIELD2 = 2 : Unsigned16;
			  END RECORD;

    END SPECIFICATION MCC_TEST_am_srvc_if.
;
L_GROSSMAN>man/tool/spec temp
DECmcc Management Specification Language Translation Tool
               Version X1.2.18

%MCCMSL-I-MSLLOCATION, Line: 10, File: TEMP.MS;,
%MCCMSL-E-PARSER, syntax error: The value "END" is not expected
%MCCMSL-E-ERROR, MSL did not complete successfully, please see previous error
L_GROSSMAN>