| Christine:
I just tried to combine the MSL files of the MCC and DOMAIN global entities
and it didn't work. The general layout of my combo MSL file looked like this:
MSL HEADER
ALL TYPE DEFINITIONS
GLOBAL ENTITY MCC
:
:
END MCC
GLOBAL ENTITY DOMAIN
:
:
END DOMAIN
END SPECIFICATION
When I tried to run the combo through the MSL Translator I recieved the
following message:
%MCCMSL-E-PARSER, syntax error: The value "GLOBAL" is not expected
%MCCMSL-E-ERROR, MSL did not complete successfully, please see previous error
The Translator obviously did not like the position of the second GLOBAL
ENTITY statement.
May I ask why you're interested in doing this? Is there some requirement
that we (engineering) should know about?
Generally speaking, this is not a good thing to do because it means that an
update in one global entity causes the other(s) be updated in the
dictionary. You lose some valuable "module" independence. I don't
recommend doing this unless you have a good reason...
- Jerry
|