[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 |
968.0. "PROB: IMPM ACCVIO showing constructed attrs" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Mon Apr 29 1991 14:12
V1.1 SSB
The IMPM is getting an accvio Showing attributes. Interestingly, the
error occurs only when two particular attributes appear in the ILV
returned from the Show entry point. Either one without the other
displays without error. The two attributes are a SEQUENCE OF a record
and a SET OF a different record. MSL is at the end of this posting.
The ILV looks good and results in the expected values when displayed
by FCL. The ids of the two attributes that seem to cause the problem
are 3 and 66.
Along with the accvio are two message boxes noting that "unexpected
information was returned in out_p" and listing codes 112 and 208, both
valid attribute codes that are accepted and formatted normally if both
3 and 66 aren't in the ILV.
[ 1 ] (
[ 1 ] (
[ 3 ] (
[ 1 ] 34 -- 4
[ 3 ] 00
[ 4 ] (
[ 1 ] (
[ 0 ] 01 03 41 49 4d
[ 1 ] (
[ 1 ] 7f
)
)
)
)
[ 37 ] (
[ 1 ] 34 -- 4
[ 3 ] 03
[ 4 ] (
)
)
[ 66 ] (
[ 1 ] 34 -- 4
[ 3 ] 00
[ 4 ] (
[ 1 ] (
[ 0 ] aa 00 04 00 de 11 a0 aa f9 6f 56 de 8e 00 2b 00 01 03 43 58
4e 01 01 53 01 07 44 42 53 2d 41 49 4d 01 03 4d 43 43 01 03
52 53 4b 01 0c 54 45 53 54 31 5f 42 52 41 4e 43 48 00 00
[ 1 ] 01 06 41 41 64 64 64 64
)
)
)
[ 112 ] (
[ 1 ] 22 -- "
[ 2 ] 01
[ 3 ] 00
)
[ 208 ] (
[ 1 ] 03
[ 2 ] 57 69 64 65 20 4f 70 65 6e -- Wide Open
[ 3 ] 00
)
[ 84 ] (
[ 1 ] 31 -- 1
[ 2 ] 00 40 3d 7f 5b 02 00 00 00 00 00 00 00 00 00 10
[ 3 ] 00
)
)
)
=== Here's how FCL formats it:
MediaLibrary DEC:.CXN.S.DBS-AIM.MCC.RSK.TEST1_MEDIA_LIBRARY
AT 29-APR-1991 10:40:24 Characteristics
Examination of attributes shows:
Access Control List = { ( Principal = AIM,
Rights = { All } ) }
Policies Enabled = -- Attribute Not Available
CartName Template List = { ( Branch = DEC:.CXN.S.DBS-A
IM.MCC.RSK.TEST1
_BRANCH,
Template = AAdddd ) }
Name Template Format = 1
Import Policy = "Wide Open"
Persistence Time = 3 00:00:00.00
=== Here's the relevant MSL bits:
TYPE SimpleNameSet = 1 SET OF SimpleName;
TYPE Rights = 2 (None = 0, Read = 1, Write = 2, Execute = 4, Delete = 8,
Control = 16, User Control = 32, Initialize = 64,
All = 127);
TYPE RightSet = 3 SET OF Rights;
TYPE ACE = 4 RECORD
Principal = 0 : SimpleName;
Rights = 1 : RightSet;
END RECORD;
TYPE BranchLibraryName = 41 FullName;
TYPE ACL = 67 SET OF ACE;
TYPE CartNameTemplate = 25 SimpleName;
TYPE CartNameTemplateSpec = 52 RECORD
Branch = 0 : BranchLibraryName;
Template = 1 : CartNameTemplate;
END RECORD;
TYPE CartNameTemplateSet = 53 SET OF CartNameTemplateSpec;
ATTRIBUTE Access Control List = 3 : ACL
SYMBOL = ATTR_ACL
END ATTRIBUTE ACL;
ATTRIBUTE CartName Template List = 66 : CartNameTemplateSet
SYMBOL = ATTR_CART_TEMPLATES,
DEFAULT = "{}"
END ATTRIBUTE CartName Template List;
T.R | Title | User | Personal Name | Date | Lines |
---|
968.1 | | VERNA::V_GILBERT | | Mon Apr 29 1991 17:46 | 16 |
| Richard,
In looking at your MSL, I see that for
TYPE CartNameTemplateSet = 53 SET OF CartNameTemplateSpec;
that you have defined a default value. Currently constructor datatypes do
not allow default values, although you seem to have gotten them accepted by
the MS compiler. The Iconic Map cannot handle them (and is not very graceful
about it).
Could you change your MS so that NO constructor datatypes have default values
and then try the same thing again and let me know.
Thanks,
Verna
|
968.2 | more info | COOKIE::KITTELL | Richard - Architected Info Mgmt | Tue Apr 30 1991 11:12 | 8 |
|
RE: .1
>Could you change your MS so that NO constructor datatypes have default values
>and then try the same thing again and let me know.
Done. Same error, same place.
|