IBM Support

PM60124: A LOGICAL UNLOAD WITH A WHERE CLAUSE HAVING AN IN PREDICATE ON CHAR DATA RETURNS AN INCORRECT NUMBER OF ROWS.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A logical unload with a WHERE clause having an IN predicate on
    CHAR data returns an incorrect number of rows.
    
    This occurs only if one of the items of the IN predicate has
    trailing blanks as in the following example:
    
    UNLOAD TABLESPACE
    QUIESCE NO
    DB2 NO
    SELECT NAME
    FROM SYSIBM.SYSPACKAGE
    WHERE NAME IN (
                   'ADB27AC ' ,
                   'ADB27SP' ,
                   'ADB2CHK' ,
                   'ADB2CID' ,
                   'ADB2CON' ,
                   'ADB2REP'
                  )
    OUTDDN (UNLDDN1)
    FORMAT DSNTIAUL STRICT ;
    
    PB11487
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 High Performance Unload.        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A logical unload with a WHERE clause    *
    *                      having an IN predicate on char data     *
    *                      returns an incorrect number of rows.    *
    *                      This occurs only if the table encoding  *
    *                      scheme is not EBCDIC and at least one   *
    *                      of the items of the IN predicate has    *
    *                      trailing blanks as in the following     *
    *                      example:                                *
    *                      UNLOAD TABLESPACE                       *
    *                      QUIESCE NO                              *
    *                      DB2 NO                                  *
    *                      SELECT NAME                             *
    *                      FROM SYSIBM.SYSPACKAGE                  *
    *                      WHERE NAME IN (                         *
    *                                    'ADB27AC ' ,              *
    *                                    'ADB27SP' ,               *
    *                                    'ADB2CHK' ,               *
    *                                    'ADB2CID' ,               *
    *                                    'ADB2CON' ,               *
    *                                    'ADB2REP'                 *
    *                                   )                          *
    *                      OUTDDN (UNLDDN1)                        *
    *                      FORMAT DSNTIAUL STRICT ;                *
    *                      PB 11487                                *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    ocher and inode modules were changed to remove the trailing
    blanks before comparing the values involved in the IN predicate.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM60124

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-09

  • Closed date

    2012-04-06

  • Last modified date

    2012-05-02

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

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

    UK77749 UK77750

Modules/Macros

  •    INZRSAVE INZTPMEM INZUTILK INZUTILX INZUTISK
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R320 PSY UK77749

       UP12/04/12 P F204

  • R410 PSY UK77750

       UP12/04/12 P F204

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021