Script differences in various versions

The base version that is used for IBM® InfoSphere® Master Data Management Collaboration Server Version 11.5 is WebSphere® Product Center Version 5.0.1; therefore there are functional and behavioral differences between V5.2.1 and V11.5.

Attributes of data type Flag return different values in V11.5. In V5.2.1, the Flag data type returned a string TRUE/FALSE. In V11.5 the Flag data type returns an equivalent of a Java™ Boolean value, which can have the values true/false/null. Therefore, when you compare a flag attribute, the comparison should be as follows:
if (flagValue==null)

If the value of a Flag is printed, for example, out.write(flagValue);, the values that are printed might be null, false, or true.

Because the code is compiled into Java when you use compiled_only_mode, it throws an exception if IBM InfoSphere Master Data Management Collaboration Server scripts contain Java keywords as variables. Also, scripts do not compile if they contain variables that are already being used by InfoSphere MDM Collaboration Server in the generated code. For example, logger and hmContext.

Another key difference exists in the methods that return either an ItemSet or a CategorySet: In V5.2.1, if the method did not fetch any results, it returned null. In V5.3.2, and therefore in V11.5, these methods return an empty set

  • Here are the methods that return an ItemSet:
    • getCtgItemByAttributeValue(String sNodePath, String sValue)
    • getItemSetForCategory(Catalog ctg [, Boolean ordered])
    • getItemSetForCatalog()
    • getItemSetForUnassigned(CategoryTree ctr, boolean readOnly)
    • getItemSetForPrimaryKeys(Array pkeys, Boolean bOptimize)
    • getItemSetForSelection()
    • getSubset(IItemSet items, Integer start_point [, Integer end_point])
  • Here are the methods that return a CategorySet:
    • getCategorySet([Boolean bReadonly])
    • getDescendentCategorySetForCategory([Boolean bReadonly])
    • getCategorySetByAttributeValue(String attribPath, Object attribValue, [Boolean bReadOnly])
    • getCategorySetByPrimaryKey(String primaryKey, [Boolean bReadOnly])
    • getCategorySetByLevel(Integer level, [Boolean bReadOnly])
    • getCategorySetByFullNamePath(String[] fullNamePaths, String delimiter)
    • getCategorySetByItemSecondarySpec(String specName)
    • getCategorySetByStandAloneSpec(String specName)
    • getLocationsAddedAvailability(CategoryTree locationHierarchy)
    • getLocationsChangedToHaveData(CategoryTree locationHierarchy)
    • getLocationsChangedToHaveNoData(CategoryTree locationHierarchy)
    • getLocationsHavingChangedData(CategoryTree locationHierarchy)
    • getAvailableLocations(Object locationOrCategoryTree)


Last updated: 9 Feb 2016