IBM Support

PH10403: UNUSED VARIABLE RESULTS IN ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • An unused variable or conditional style results in an error
    during validation. It should be a warning.
    This is the same for CQM and DQM.
    RSV-VAL-0001 Failed to validate the variable expression
    [Query1].[Quantity]>0 due to the missing item Quantity in any
    query.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * see description                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • This is expected behavior and we have no plan to change the
    current design.
    
    When a variable is not being referenced, running the report will
    not cause an error. However, when we perform validation of a
    report, we evaluate all objects. Since we have no way to
    validate the variable expression, an error will be displayed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10403

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    B0A

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-29

  • Closed date

    2021-06-25

  • Last modified date

    2021-06-25

  • 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

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B0A"}]

Document Information

Modified date:
26 June 2021