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 |
I'm implementing an AM on Ultix, which accesses an SQL database. We have ACLS which are set-valued attributes. The documentation on ADD and REMOVE seems to imply that the expected output is just the values which were modified. However, after talking to a few people, my understanding is that the expected output has the whole set, not just the records which were modified. Is this a standard behavior of ADD/REMOVE? We may have many ACLS, and it seems like returning all the ACLS when only 1 or 2 may have been modified, is giving the user information that is not necessarily helpful. If they want to see the whole set, they can issue a SHOW. Have other people run into this problem? thanks, Bonnie
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2280.1 | TOOK::MINTZ | Erik Mintz, DECmcc Development, dtn 226-5033 | Wed Feb 26 1992 12:43 | 2 | |
Entered as a question (priority 5) QAR 2382 | |||||
2280.2 | cross posting QAR answer | TOOK::KOHLS | Ruth Kohls | Wed Mar 18 1992 11:42 | 22 |
I'm posting my answer to Erik's QAR 2382 here. I think I hit all the permutations of "attribute" and "set-valued", but if you have more questions, send me mail and I will attempt to find more answers. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ As I read section 15.4.2 of the SRM, which contains the templates for the ADD directive and for the REMOVE directive, the response or exception for each directive is an ATTRIB_LIST. This attrib_list contains the complete, current, value of each changed ATTRIBUTE, or in the partial success or failure case, each attribute that SHOULD have changed. The reason code for each datum in the ATTRIB_LIST indicates success or failure reason for that individual attribute. In the case of a set-valued attribute, the attribute is the whole set, not just the modified element, so the entire set is returned. If you are modifying a set that is a component of something larger, the whole "something larger" attribute is returned. If you have a collection of set-valued attributes and modify one of them, the modified attribute is returned, not the whole collection. Ruth Kohls |