[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
3283.0. "REGISTER and child entities with no identifier" by BALZAC::COULON (Even if it works, ask why) Wed Jul 01 1992 12:33
Assume a global entity with a child entity with one instance only. The child
entity is declared in the MSL with IDENTIFIER = (). The AM, built from YOURMM
does support the SHOW IDENTIFIER directive (no REGISTER specific code). Now,
let's REGISTER the global entity. It seems that the SHOW IDENT routine is
called with "global_class global_instance child_class *" In_entity parameter,
which makes the AM failed because the In_entity Validation routine does not
expect a child_instance (CAV_V_INST_NULL)...
Of course, the "SHOW global_instance child_class *" command is rejected by
the FCL with "Syntax error in attributes".
Question: Is this REGISTER behaviour correct? Which means that you really
have to test parameters in an AM. With the Design framework, how can we
specify the In_entity validation parameters in this case?
Regards,
Serge
T.R | Title | User | Personal Name | Date | Lines |
---|
3283.1 | register broken... | BARREL::LEMMON | | Thu Jul 02 1992 09:19 | 10 |
| The register will check the dictionary to see if there are any
children with DYNAMIC = FALSE. If it finds any, it will issue
the SHOW global_instance child_class * command.
It appears that the REGISTER directive has a bug where it
doesn't check to see if the child has only one instance.
To get around this you can set DYNAMIC = TRUE flag.
Entered as qar 3240 (mcc_internal)
|