IBM Support

PH17903: ALTER TABLE TO ADD COLUMN GIVING ISSUE DURING LOAD

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Adding a new column between two existing columns, using the
    LT function on an existing table, with the options DELIMITED
    YES and COLDEL ; selected on panel ADB2USU
    
    UNLOAD give us problem at reload time.   Example error:
    
    DSNU310I -DB2D 220 11:14:59.58 DSNURCON - RECORD (1) WILL BE
    DISCARDED DUE TO 'C31'
    CONVERSION ERROR FOR DB2DEVP.TEST_EBCDIC
    ERROR CODE '02 - INPUT NUMERIC INVALID'
    
    note C31 is the new column that was inserted.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who use the ALT command to add a new         *
    *                 column and specify the UNLOAD options        *
    *                 DELIMITED YES and COLDEL.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: DELIMITED YES and COLDEL are not        *
    *                      included in the UNLOAD statement in the *
    *                      batch job that is created by the ALT    *
    *                      function even though the user           *
    *                      specified them. The absence of these    *
    *                      options causes UNLOAD to fail.          *
    ****************************************************************
    A user is adding a new column between two existing columns
    by using the ALT function and specifies the DELIMITED YES
    and COLDEL options. (You can use the UL line command to
    change the UNLOAD options and set DELIMITED to YES and
    specify COLDEL.) Then, Admin Tool generates a batch job
    to alter the table to add a column that does not allow a default
    value (with option ANALYZE IN BATCH set to NO).
    
    The resulting unload step generates a CSV file but LOAD
    issues the following message:
    DSNU310I -DB2D 220 11:14:59.58
    DSNURCON - RECORD (1) WILL BE DISCARDED DUE TO <column_name>
    CONVERSION ERROR FOR <table_name> ERROR CODE '02 - INPUT
    NUMERIC INVALID'
    DSNU310I -DB2D 220 11:14:59.58
    DSNURCON - RECORD (2) WILL BE DISCARDED DUE TO <column_name>
    CONVERSION ERROR FOR <table_name> ERROR CODE '02 -
    INPUT NUMERIC INVALID'
    

Problem conclusion

  • The LOAD problem in this scenario is resolved and completes
    successfully.
    
    However, the DELIMITED keyword is not supported by Admin
    data conversion routines; therefore, if data conversion
    is needed when the DELIMITED keyword is specified, the
    following messages are now issued:
    
    ADBC001I Alter for table tbname
    Format delimited and data conversion requested, but this
    combination is not supported
    ADBC199E Internal error. Unable to continue
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH17903

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-10

  • Closed date

    2020-02-17

  • Last modified date

    2020-03-02

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

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

    UI67942

Modules/Macros

  • ADB27AC  ADB2USU  ADBEALT  ADBGAJOB ADBS27AC ADBTEP2  ADBTUNL
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI67942

       UP20/02/20 P F002

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

Document Information

Modified date:
02 March 2020