IBM Support

JR33572: SQL1816N OR SQL1817N ERROR WHEN CREATING A SERVER FOR ODBC WRAPPER IF NOT SPECIFY THE SERVER TYPE TO "ODBC"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You will get SQL1816N  or SQL1817N error when creating a server
    for ODBC wrapper if you specify the server TYPE to other string
    which is not "ODBC" or do not specify the TYPE.
    
    For example:
    a. Specify the TYPE to "odbcserver" or other string:
    $ db2 "CREATE SERVER <servername> TYPE odbcserver WRAPPER
    <wrappername>OPTIONS( NODE '<nodename>' ) "
    DB21034E  The command was processed as an SQL statement because
    it was
    not a valid Command Line Processor command.  During SQL
    processing it
    returned: SQL1816N  Wrapper "ODBC" cannot be used to access the
    "TYPE" of data
    source ("ODBCSERVER" "version") that you are trying to define to
    the federated
    database.  SQLSTATE=560AC
    
    b. Do not specify TYPE:
    $ db2 "CREATE SERVER <servername> WRAPPER <wrappername>OPTIONS(
    NODE '<nodename>' ) "
    DB21034E  The command was processed as an SQL statement because
    it was
    not a valid Command Line Processor command.  During SQL
    processing it
    returned: SQL1817N  The CREATE SERVER statement does not
    identify the "TYPE" of
    data source that you want defined to the federated database.
    SQLSTATE=428EU
    
    The TYPE and VERSION for create server to ODBC data source
    should be optional:
    https://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.
    ibm.swg.im.iis.found.conn.fw.odb.doc/topics/rlsodb06.html
    

Local fix

  • Specify the server TYPE to "ODBC"
    

Problem summary

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

Problem conclusion

  • Problem was first fixed in Version 9.1 FixPak 9 (s100326 ). This
    fix should be applied on the federation server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR33572

  • Reported component name

    ODBC WRAPPER

  • Reported component ID

    5724N9707

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-06

  • Closed date

    2010-04-14

  • Last modified date

    2010-04-14

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

    JR33571

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

Fix information

  • Fixed component name

    ODBC WRAPPER

  • Fixed component ID

    5724N9707

Applicable component levels

  • R910 PSN

       UP

  • R911 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVPM","label":"Data Sources and Wrappers - ODBC"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 April 2010