IBM Support

JR39919: AFTER MIGRATING TO 8.5 DB2 CONNECTOR JOBS WITH SCHEMA IN A PARAMETER SET FAIL TO LOCATE TABLE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • 8.5.0.1 DB2 Connector gets SQLCODE -2,211 (table does not exist)
    when the schema name is passes in a parameter set.  The table
    BCMN.BDC_PROD exists and works when the schema is hard coded.
    
    Hard code schema name in job works!
    UPDATE BCMN.BDC_PROD SET ... WHERE ...
    
    Using the schama in a parameter set fails.
    UPDATE #COMMON_DB_SYS_PARAM.Schema_BCMN#.BDC_PROD SET ... WHERE
    ...
    
    # Job log shows correct value in parameter set
    COMMON_DB_SYS_PARAM.Schema_BCMN = BCMN     (User supplied)
    
    # Job log shows correct value for <SCHEMA>.<TABLE> so it is
    getting the value!
    
    Message: DB2EE_Upd_BdcProd: The connector was not able to obtain
    partitioning information for the table BCMN.BDC_PROD
    SET in the database d2cint. The method sqlugtpi returned reason
    code 0, SQLCODE -2,211. Ensure that the table exists and that it
    can be accessed. (CC_DB2Adapter::obtainPartitioningInfoForTable,
    file CC_DB2Adapter.cpp, line 1,597)
    

Local fix

  • Hardcode the schema name.
    

Problem summary

  • AFTER MIGRATING TO 8.5 DB2 CONNECTOR JOBS WITH SCHEMA IN A
    PARAMETER SET FAIL TO LOCATE TABLE.
    

Problem conclusion

  • The Migration tool for DB2 was parsing tablename from SQL query
    using space as delimiter.
    
    Modified the parsing of tablename from SQL query to consider
    whitespace including newlines etc. as delimiter.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR39919

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-22

  • Closed date

    2011-07-05

  • Last modified date

    2011-07-05

  • 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

  • R850 PSY

       UP

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

Document Information

Modified date:
05 July 2011