5.60 FilteredGCPAS

 procedure FilteredGCPAS() : PARTIAL_ATTR_VECTOR_V1_EXT^

Informative summary of behavior: The FilteredGCPAS procedure returns a reference to an instance of structure PARTIAL_ATTR_VECTOR_V1_EXT that contains the list of attributes that can be present, based on the schema, on a filtered GC replica.

 attrSetSeq: sequence of DSName
 filteredAttributeSet: sequence of ATTRTYP
 pPartialAttrVector: PARTIAL_ATTR_VECTOR_V1_EXT^
 attrId: ATTRTYP
 i, j:int
 attrSetSeq := select o from subtree SchemaNC() where
                       (attributeSchema in o!objectClass) and
                       (o!isMemberOfPartialAttributeSet = true)
 filteredAttributeSet := GetFilteredAttributeSet()
 pPartialAttrVector = new PARTIAL_ATTR_VECTOR_V1_EXT sized to hold
         (attrSetSeq.length - filteredAttributeSet.length) entries in 
         its rgPartialAttr field
 pPartialAttrVector^.dwVersion := 1
 j := 0
 for i := 0 to attrSetSeq.length-1
   attrId = AttrtypFromSchemaObj(attrSetSeq[i]);
   if (not attrId in filteredAttributeSet) then
     /* attribute is not in the filtered list */
     partialAttrVector^.rgPartialAttr[j]:= attrId
     j := j + 1
 pPartialAttrVector^.cattrs := j
 return pPartialAttrVector^