webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  distinct-values in Tamino 4.1.4?

    Posted Tue August 19, 2003 03:56 PM

    Hello,

    Does Tamino 4.1.4 finally supports the XQuery
    function distinct-values? In an earlier posting
    in this forum about 4.1.1 someone mentioned that this is high priority feature for future versions…

    Thanks,

    Ben


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: distinct-values in Tamino 4.1.4?

    Posted Tue September 02, 2003 10:18 AM

    Unfortunately distinct-values() isn’t there yet, apparently. The only functions supported on sequences are avg(), count(), min(), max(), and sum().

    Bill


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: distinct-values in Tamino 4.1.4?

    Posted Tue August 02, 2016 05:54 AM

    Is this still not supported by Tamino?

    Get the following error attempting to use distinct-values on a CentraSite XQuery.

    
    com.softwareag.tamino.db.api.accessor.TXQueryException( message: Error preparing the XQuery (6366, INOXQE6366, Type exception: invalid input for function, Function: distinct-values; line 8, column 8: distinct-values(<object inoId="{tf:getInoId(root($ro))}" las), version: 9.0.0.0.59, java: 1.8.0_51, os: Linux 2.6.32-504.8.1.el6.x86_64 )

    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: distinct-values in Tamino 4.1.4?

    Posted Wed August 03, 2016 03:10 AM

    the error indicates that the input to the function is not valid, not that the function is not found/not available. Check your XQuery again.

    Documentation: [url]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/tamino/ins97/xqueryref/ref-fn_distinct-values.htm#ref-fn_distinct-values[/url]


    #Tamino
    #API-Management
    #webMethods