IBM Support

JR34174: WHEN QUERYING REMOTE TABLE, MS SQL SERVER WRAPPER MAY REPORT SQL1822N ERROR WITH ERROR MESSAGE "INVALID CURSOR STATE".

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When querying a MS SQL Server nickname, MS SQL Server Wrapper
    may report following error:
    
    SQL1822N  Unexpected error code "" received from data source
    "MSSQL".
    Associated text and tokens are "MSSQL Invalid cursor state".
    SQLSTATE=560BD
    
    Meanwhile, "invalid cursor state" error is logged in
    db2diag.log. The log entry looks like below:
    
    2009-08-03-14.22.30.552000-240 I9682H766          LEVEL: Error
    PID     : 9999                 TID  : XXXX        PROC :
    db2syscs.exe
    INSTANCE: DB2                  NODE : 000         DB   : SAMPLE
    APPHDL  : 0-76                 APPID: *LOCAL.DB2.090803180617
    AUTHID  : DB2ADMIN
    EDUID   : 9999                 EDUNAME: db2agent (9999) 0
    FUNCTION: DB2 UDB, mssql wrapper, Mssql_Server::get_error_info,
    probe:7
    MESSAGE : ODBC error txt:
    DATA #1 : Hexdump, 56 bytes
    0x38F0E010 : 5B4D 6963 726F 736F 6674 5D5B 4F44 4243
    [Microsoft][ODBC
    0x38F0E020 : 2053 514C 2053 6572 7665 7220 4472 6976     SQL
    Server Driv
    0x38F0E030 : 6572 5D49 6E76 616C 6964 2063 7572 736F
    er]Invalid curso
    0x38F0E040 : 7220 7374 6174 6500                        r state.
    
    This error is caused by MS SQL Server Wrapper mistakes a normal
    ODBC Driver return message for a error message.
    

Local fix

  • special build required.
    

Problem summary

  • Users affected:
       Users of the MS SQL Server wrapper in InfoSphere Federation
    Server
    Problem description and summary:
       See error description.
    

Problem conclusion

  • Problem was first fixed in Version 9.5 FixPak 6 (s100805 ). This
    fix should be applied on Federation Server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR34174

  • Reported component name

    FEDERATION SERV

  • Reported component ID

    5724N9700

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-01

  • Closed date

    2010-09-19

  • Last modified date

    2010-09-19

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

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

    JR34175

Fix information

  • Fixed component name

    FEDERATION SERV

  • Fixed component ID

    5724N9700

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVPY","label":"General Issues"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 September 2010