IBM Support

IC80772: DB2 PREP MAY RETURN SQL0008N.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Problem Abstract:
    db2 prep may return SQL0008N.
    
    This issue occurs whenever all these conditions satisfy:
    1.There is a "typedef1" (defined in the include file "file1.h")
    , which has a "char" member in it.
    2.There is a "typedef2" (defined in the include file "file2.h")
    3.There is a "typedef3" (also defined in include file "file2.h"
    , but after defining "typedef2") , which too has a "char" member
    whose name is exactly as that of the member in "typedef1".
    4.There is a host variable declaration of "typedef2" either in
    include file "file2.h" or in the main file of application
    program
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * This issue occurs whenever all these conditions satisfy:     *
    * 1.There is a "typedef1" (defined in the include file         *
    * "file1.h") , which has a "char" member in it.                *
    * 2.There is a "typedef2" (defined in the include file         *
    * "file2.h")                                                   *
    * 3.There is a "typedef3" (also defined in include file        *
    * "file2.h" , but after defining "typedef2") , which too has a *
    * "char" member whose name is exactly as that of the member in *
    * "typedef1" .                                                 *
    * 4.There is a host variable declaration of "typedef2" either  *
    * in include file "file2.h" or in the main file of application *
    * program                                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 UDB version 9.7 fixpack 6.                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 FixPack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80772

  • 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-10

  • Closed date

    2012-06-11

  • Last modified date

    2012-06-11

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

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

    IC84491

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

Modified date: 11 June 2012