IBM Support

PI42324: EXCEPTION INSERTING INTO DMH_MAP_FILE WITH SQLCODE=-803 WHEN POSTPROCESSING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Message similar to the following may occur during
    postprocessing when using a 6.1.0.7 update driver built before
    June, 2015:
    
    Exception on prepared statement [INSERT INTO
    $(SCHEMA).DMH_MAP_FILE (map_id, file_id) VALUES (?, ?)
    (params=[-1,17929])]
     Caused by: DB2 SQL Error: SQLCODE=-803, SQLSTATE=23505,
    SQLERRMC=2;DMH.DMH_MAP_FILE, DRIVER=3.65.110
     Caused by: DB2 SQL Error: SQLCODE=-803, SQLSTATE=23505,
    SQLERRMC=2;DMH.DMH_MAP_FILE, DRIVER=3.65.110
    com.ibm.dmh.db.SQLRuntimeException: Exception on prepared
    statement [INSERT INTO $(SCHEMA).DMH_MAP_FILE (map_id, file_id)
    VALUES (?, ?) (params=[-1,17929])]
     Caused by: DB2 SQL Error: SQLCODE=-803, SQLSTATE=23505,
    SQLERRMC=2;DMH.DMH_MAP_FILE, DRIVER=3.65.110
     Caused by: DB2 SQL Error: SQLCODE=-803, SQLSTATE=23505,
    SQLERRMC=2;DMH.DMH_MAP_FILE, DRIVER=3.65.110
     at
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
     at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
    tructorAccessorImpl.java:56)
     at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:39)
     at
    java.lang.reflect.Constructor.newInstance(Constructor.java:527)
     at
    com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionH
    elper(GenericDataStoreHelper.java:617)
     at
    com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(
    GenericDataStoreHelper.java:676)
     at
    com.ibm.ws.rsadapter.AdapterUtil.mapException(AdapterUtil.java:2
    265)
     at
    com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.jav
    a:1187)
     at
    com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(
    WSJdbcPreparedStatement.java:813)
     at
    com.ibm.dmh.db.DbPreparedStatement.update(DbPreparedStatement.ja
    va:246)
     at com.ibm.dmh.db.DbAdmin.update(DbAdmin.java:1105)
    
    and analysis queue status goes to Not running, but leaving
    items on the queue.
    

Local fix

  • none known.
    

Problem summary

  • SQLCODE=-803 on INSERT into DMH_MAP_FILE during postprocessing
    queue type 18, caused by incorrect map id being returned.
    

Problem conclusion

  • Corrected the code that inserts DMH_MAP rows so that it returns
    the correct map id to be used later with the DMH_MAP_FILE table
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI42324

  • Reported component name

    RATL ASSET ANAL

  • Reported component ID

    5724V2700

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-03

  • Closed date

    2015-06-05

  • Last modified date

    2015-06-05

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

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

Modules/Macros

  • aqp
    

Fix information

  • Fixed component name

    RATL ASSET ANAL

  • Fixed component ID

    5724V2700

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS3JHP","label":"Rational Asset Analyzer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
16 October 2021