IBM Support

PM89467: ALT FUNCTION NULL TO NOT NULL DISCARDED ROWS ON LOAD DSNU310I ERROR CODE 04 - INPUT PACKED DECIMAL IS IN ERROR

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS' ALT functions apply job
    discards rows during the DB2 LOAD utility when changing a
    decimal column from DEFAULT NULL to NOT NULL WITH DEFAULT.
    
    The DB2 LOAD will show:
    DSNU310I  >ssid< DSNURCON - RECORD (n) WILL BE  DISCARDED
    DUE TO >column< CONVERSION ERROR FOR >schema<.>table<
    ERROR CODE '04 - INPUT PACKED DECIMAL IS IN ERROR
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the 'ALT Alter Table' (ALT)     *
    *                 function to alter a column of a table from   *
    *                 DEFAULT NULL to NOT NULL WITH DEFAULT.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS    *
    *                      does not generate DEFAULTIF syntax in   *
    *                      the LOAD control card when a column     *
    *                      is changed from DEFAULT NULL to NOT     *
    *                      NULL WITH DEFAULT which results in      *
    *                      the data being discarded with a         *
    *                      message similar to the following        *
    *                      message:                                *
    *                                                              *
    *                      DSNU310I >ssid< DSNURCON -              *
    *                      RECORD (n) WILL BE DISCARDED            *
    *                      DUE TO >field-name< CONVERSION          *
    *                      ERROR FOR >table-name<                  *
    *                      ERROR CODE '04 - INPUT                  *
    *                      PACKED DECIMAL IS IN ERROR              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Administration Tool for z/OS does not generate DEFAULTIF
    syntax in the LOAD control card when a column is changed from
    DEFAULT NULL to NOT NULL WITH DEFAULT which results in the data
    being discarded with a message similar to the following
    message:
    
    DSNU310I >ssid< DSNURCON - RECORD (n) WILL BE
    DISCARDED DUE TO >field-name< CONVERSION
    ERROR FOR >table-name< ERROR CODE '04 - INPUT
    PACKED DECIMAL IS IN ERROR
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89467

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-21

  • Closed date

    2013-11-27

  • Last modified date

    2013-12-02

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

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

    UI13016 UI13017

Modules/Macros

  •    ADB27AC
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • RA10 PSY UI13016

       UP13/11/30 P F311

  • RA20 PSY UI13017

       UP13/11/30 P F311

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":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021