IBM Support

JR28916: SQL1585N COMPILING QUERY THAT INCLUDES A SUBQUERY IN A PREDICATE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query may fail to compile with SQLCODE -1585, SQLSTATE 54048
    if there is a predicate that contains a subquery.  This may
    occur even though there exists a temporary table space with the
    maximum page size of 32k.
    

Local fix

  • Reduce the query optimization class to 1.
    

Problem summary

  • Users affected : all
    Problem summary : possible incorrect -1585 error compiling a
    query
    Problem conclusion  : this apar will prevent the error from
    happening
    

Problem conclusion

  • The problem was first fixed in v9.5 fixpak 4
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR28916

  • Reported component name

    DB2 UDB EXE WIN

  • Reported component ID

    5724E4901

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-09

  • Closed date

    2009-03-09

  • Last modified date

    2009-03-09

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

    JR28915

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

Fix information

  • Fixed component name

    DB2 UDB EXE WIN

  • Fixed component ID

    5724E4901

Applicable component levels

  • R950 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"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":"950"}]

Document Information

Modified date:
07 October 2021