IBM Support

JR29108: -180 SQLCODE WHEN ISSUING SELECT WITH IN CLAUSE CONTAINING DATE FIELD FROM REMOTE Z/DB2 EMBEDDED SQL APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An embedded SQL application running on a remote DB2 for z/OS
    client may receive an SQLCODE -180 error:  "The syntax of the
    datetime value is incorrect".
    .
    This can happen if the application is coding a statement that
    uses an IN clause with multiple host variables, where each host
    variable represents a character based host variable that
    represents a DATE field on the database server.
    

Local fix

Problem summary

  • Users Affected:  Embedded SQL application running on
    z/DB2 clients
    Problem Description:  An embedded SQL application may receive a
    -180 error when using a DATE host variable inside an IN clause
    from a remote application running on a z/DB2 client.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.1 Fixpak 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR29108

  • Reported component name

    DB2 UDB WSE WIN

  • Reported component ID

    5765F3501

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-23

  • Closed date

    2008-11-03

  • Last modified date

    2008-11-03

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

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

    JR29109

Fix information

  • Fixed component name

    DB2 UDB WSE WIN

  • Fixed component ID

    5765F3501

Applicable component levels

  • R910 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021