IBM Support

IZ39737: INSERT OF VARGRAPHIC VALUES WITH TRAILING SPACES FAIL WHEN USING V9 JCC T4 DRIVER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Insert of vargraphic values with trailing spaces fail when using
    v9 JCC T4 driver
    
    1. db2 "create database dbu8 using codeset utf-8 territory us"
    
    2. db2 "create table test.test (NAAMTITULARIS  VARGRAPHIC (2))"
    
    3. Insert values through a java application
    "insert into  test.test values ('T    ')"
    "insert into  test.test values ('TT   ')"
    "insert into  test.test values ('<vgvalue>   ')"
    "insert into  test.test values ('<vgvalue>   ')"
    
    Inserting: T
    Inserting: TT
    SqlGen_main : exception catch in main routine
    SqlGen_main : class com.ibm.db2.jcc.b.SqlException
    SqlGen_main : DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001,
    SQLERRMC: null
    
    The insert succeeds when using a v8 JCC T4 driver
    
    vgvalue - vargraphic value
    

Local fix

  • Use v8 JCC T4 driver
    

Problem summary

  • Insert of vargraphic values with trailing spaces fail when usin
    v9 JCC T4 driver
    
    1. db2 "create database dbu8 using codeset utf-8 territory us"
    
    2. db2 "create table test.test (NAAMTITULARIS  VARGRAPHIC (2))"
    
    3. Insert values through a java application
    "insert into  test.test values ('T    ')"
    "insert into  test.test values ('TT   ')"
    "insert into  test.test values ('<vgvalue>   ')"
    "insert into  test.test values ('<vgvalue>   ')"
    
    Inserting: T
    Inserting: TT
    SqlGen_main : exception catch in main routine
    SqlGen_main : class com.ibm.db2.jcc.b.SqlException
    SqlGen_main : DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001,
    SQLERRMC: null
    
    The insert succeeds when using a v8 JCC T4 driver
    

Problem conclusion

  • First fixed in V9 FP9
    

Temporary fix

  • Use V8 JCC Type 4 driver
    

Comments

APAR Information

  • APAR number

    IZ39737

  • Reported component name

    DB2 UDB ESE SOL

  • Reported component ID

    5765F4102

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-10

  • Closed date

    2009-10-28

  • Last modified date

    2009-10-28

  • 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

    DB2 UDB ESE SOL

  • Fixed component ID

    5765F4102

Applicable component levels

  • R910 PSY

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 October 2009