IBM Support

IT23419: Extra spaces generated from export when using codeunits32

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An export from a table using codeunits32 will produce extra
    spaces in the output file.
    
    For example:
    
    $ db2 "CREATE TABLE MYTABLE(C1 CHAR (10 CODEUNITS32), C2
    VARCHAR(20))
    
    $ db2 "INSERT INTO MYTABLE VALUES('HALLO', 'MYNAME')"
    
    
    $ db2 "EXPORT TO exp.del of DEL MODIFIED BY COLDEL0x7c NOCHARDEL
    select
    * from MYTABLE"
    
    $ less exp.del
    
    HALLO                                   |MYNAME     << 35 spaces
    
    
    
    In the case above, the output should only have 5 spaces since
    the total length of the string should always be equal to what
    was defined on the table.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 2 Fix Pack 2 iFix002 or higher       *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 2 Fix Pack 2 iFix002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT23419

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-07

  • Closed date

    2017-12-22

  • Last modified date

    2017-12-22

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

    IT23418

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 December 2017