IBM Support

PI20541: VARCHAR(4) TO INTEGER CHANGE RESULTS IN ALL RECORDS BEING DISCAR ED WHEN NOPAD USED OR ONLY NULL VALUE COLUMNS BEING LOADED.

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' Change Management function
    created incorrect DB2 utility statements which results in data
    being discarded incorrectly.
    

Local fix

  • Correct the POSITION information in the syntax to take into
    account the lenght of VARCHAR columns.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who alter a column type from VARCHAR    *
    *                 to INTEGER.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When altering a column type from        *
    *                      VARCHAR(4) to INTEGER the LOAD utility  *
    *                      discards some valid data records in     *
    *                      the following two cases:                *
    *                                                              *
    *                      1- When using the NOPAD option for      *
    *                      the UNLOAD utility, the LOAD utility    *
    *                      will discard all data records           *
    *                      converted by DB2 Admin with the         *
    *                      following error message:                *
    *                                                              *
    *                      DSNU318I csect-name RECORD              *
    *                      (n) WILL BE DISCARDED DUE TO            *
    *                      INVALID field-name COLUMN               *
    *                      SPECIFICATION FOR table-name            *
    *                                                              *
    *                      2- When removing the NOPAD option       *
    *                      for the UNLOAD utility, the LOAD        *
    *                      utility will discard all data           *
    *                      records except the records with a       *
    *                      NULL value for the altered column       *
    *                      type and the following message          *
    *                      will be issued:                         *
    *                                                              *
    *                      DSNU310I csect-name RECORD              *
    *                      (n) WILL BE DISCARDED DUE TO            *
    *                      'field-name' CONVERSION ERROR           *
    *                      FOR table-name ERROR CODE               *
    *                      '02 - INPUT NUMERIC INVALID'            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When altering a column type from VARCHAR(4) to INTEGER the
    LOAD utility discards some valid data records in the following
    two cases:
    
    1- When using the NOPAD option for the UNLOAD utility, the
    LOAD utility will discard all data records converted by
    DB2 Admin with the following error message:
    
    DSNU318I csect-name RECORD (n) WILL BE DISCARDED
    DUE TO INVALID field-name COLUMN SPECIFICATION FOR
    table-name
    
    2- When removing the NOPAD option for the UNLOAD utility, the
    LOAD utility will discard all data records except the records
    with a NULL value for the altered column type and the
    following message will be issued:
    
    DSNU310I csect-name RECORD (n) WILL BE DISCARDED
    DUE TO 'field-name' CONVERSION ERROR FOR table-name
    ERROR CODE '02 - INPUT NUMERIC INVALID'
    

Problem conclusion

  • Problems have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI20541

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-20

  • Closed date

    2014-11-12

  • Last modified date

    2014-12-01

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

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

Modules/Macros

  •    ADB27AC
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI22966

       UP14/11/18 P F411

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

Document Information

Modified date:
01 December 2014