IBM Support

IC86832: A HOST STRUCTURE DECLARED IN SQL DECLARE SECTION GENERATES ERRORS DEPENDING ON A NAME OR A LOCATION.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Embedded SQL (.sqc), depending on a location or a name of a
    host structure in SQL DECLARED SECTION, DB2 precompiler
    generates SQL0008N errors even though the code has no syntax
    error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ESQL/C users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V9.7 Fix Pack 8 or higher                     *
    ****************************************************************
    

Problem conclusion

  • DB2 v9.7 Fix Pack8 onwards ESQL/C allows the users to specify
    the typedef names in all type of patterns.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC86832

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-25

  • Closed date

    2013-04-02

  • Last modified date

    2013-04-02

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

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

    IC89698

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSY

       UP

  • RA10 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC86832

Modified date: 02 April 2013