IBM Support

IC79778: ISSUES WITH REFERENCING THE VARIABLES IN MIXED CASES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When we execute the below statements we get the following error
    
    $ db2 create variable \"Ihubv97\".var9 bigint default 10125
    
    DB20000I  The SQL command completed successfully.
    
    
    $ db2 values \"Ihubv97\".var9
    
    SQL0727N  An error occurred during implicit system action type
    "10".
    Information returned for the error includes SQLCODE "-206",
    SQLSTATE
    "42703"
    
    and message tokens "IHUBV97.VAR9".  SQLSTATE=56098
    
    
    $ db2 grant all on variable \"Ihubv97\".var9 to public
    
    DB20000I  The SQL command completed successfully.
    
    
    $ db2 values \"Ihubv97\".var9
    
    SQL0727N  An error occurred during implicit system action type
    "10".
    Information returned for the error includes SQLCODE "-206",
    SQLSTATE
    "42703"
    
    and message tokens "IHUBV97.VAR9".  SQLSTATE=56098
    
    If I then create a second variable all in upper case, the error
    is
    gone, but the result is incorrect.
    
    
    $ db2 create variable Ihubv97.var9 integer default 10
    
    DB20000I  The SQL command completed successfully.
    
    $ db2 grant all on variable Ihubv97.var9 to public
    
    DB20000I  The SQL command completed successfully.
    
    $ db2 values \"Ihubv97\".var9
    
    1
    
    --------------------
    
                       -
    
      1 record(s) selected.
    
    
    
    $ db2 values ihubv97.var9
    
    1
    
    -----------
    
             10
    
      1 record(s) selected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 Version 9.7 fix pack 6                        *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC79778

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-14

  • Closed date

    2012-07-17

  • Last modified date

    2012-07-17

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC79778

Modified date: 17 July 2012