IBM Support

PM64163: FUNCTIONS _MONTHS_BETWEEN AND DATEDIFF DO NOT WORK PROPERLY FOR MSSQL METRIC PACKAGES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • Function Datediff() do not work properly for MSSQL 2005 metric
    package while the same function works for MSSQL 2008.??Error
    message is:?RQP-DEF-0177 An error occurred while performing
    operation 'sqlPrepareWithOptions' status='-126'.?UDA-SQL-0219
    The function "datediff" is being used for local processing but
    is not available as a built-in function, or at least one of its
    parameters is not supported.?? ? ?
    

Local fix

  • Use alternative like _months_between()
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • No additional comments.
    

APAR Information

  • APAR number

    PM64163

  • Reported component name

    COG8 BI REPORT

  • Reported component ID

    5724W12RS

  • Reported release

    A11

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-08

  • Closed date

    2012-05-28

  • Last modified date

    2012-05-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWW","label":"Report Authoring v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A11","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 May 2012