IBM Support

JR61437: DB2 CONNECTOR FAIL TO LOAD DATA WHEN VARGRAPHIC COLUMNS IS USED AS PARTITIONING KEY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While trying to load data into partitioned database, DB2
    connector is determining
    target partition for each row to be written. If any of the
    columns of the partitioning
    key is of type GRAPHIC or VARGRAPHIC, job fails with the
    following error:
    
      Message: DB2_Connector,0: An error occurred while determining
      the row partition. The method db2GetRowPartNum returned reason
      code 0, SQLCODE -6,044.
    

Local fix

  • DB2 connector partitioning code has been altered to handle the
    VARGRAPHIC and GRAPHIC
    column data types as partitioning keys. To be able to load the
    data into the target
    table it is required to set the APT_STRING_PADCHAR environment
    variable to 0x20.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    DB2 Connector users
    ****************************************************************
    PROBLEM DESCRIPTION:
    Bulk load to a partitioned DB2 database table using DB2
    Connector fails for certain input data, when any of the
    partitioning key columns is of type GRAPHIC or VARGRAPHIC. Job
    fails with following error message:
    
    Message: DB2_Connector,0: An error occurred while determining
    the row partition. The method db2GetRowPartNum returned reason
    code 0, SQLCODE -6,044.
    ****************************************************************
    RECOMMENDATION
    Install patch JR61437
    ****************************************************************
    

Problem conclusion

  • DB2 connector partitioning code has been altered to handle the
    VARGRAPHIC and GRAPHIC column data types as partitioning keys.
    To be able to load data into the target table it is required to
    set the APT_STRING_PADCHAR environment variable to 0x20.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR61437

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-26

  • Closed date

    2019-09-30

  • Last modified date

    2019-09-30

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

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

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • RB50 PSY

       UP

  • RB70 PSY

       UP

  • RB71 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 October 2021