IBM Support

IC81004: DBMS_SQL.IS_OPEN INCORRECTLY RETURNS INTEGER INSTEAD OF BOOLEAN

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The routine DBMS_SQL.IS_OPEN(cur, ret) is documented to return
    type BOOLEAN for parameter 'ret'. However, the routine
    incorrectly returns an INTEGER for ret.
    
    ret
    
    An output argument of type BOOLEAN that indicates if the
    specified file
    is open (TRUE) or closed (FALSE).
    
    
    
    db2 => select varchar(routinemodulename, 20),
    varchar(routinename, 20),
    varchar(parmname, 20), varchar(typename, 20) from
    syscat.routineparms
    where routinemodulename='DBMS_SQL' and routinename = 'IS_OPEN';
    
    
    
    1                         2                        3
    4
    -------------------- -------------------- --------------------
    --------------------
    
    DBMS_SQL             IS_OPEN              C
    INTEGER
    DBMS_SQL             IS_OPEN              RET
    INTEGER
    
    This APAR fix will allow DBMS_SQL.IS_OPEN to return a value of
    type BOOLEAN, as documented.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v9.7 Fix Pack 6                               *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC81004

  • 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

    2012-01-24

  • Closed date

    2012-07-12

  • Last modified date

    2012-07-12

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

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

    IC84284

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 #: IC81004

Modified date: 12 July 2012