IBM Support

JR49987: INSTANCE MAY CRASH WHEN DROPPING CODEPAGE SERVER OPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When change Federated Server Options by executing "alter server
    xxx options( drop codepage)" for an ODBC wrapper, DB2 instance
    may crash.  The trap stack:
    
    0        ossDumpStackTraceInternal
    1        ossDumpStackTraceV98
    2        OSSTrapFile::dumpEx
    3        sqlo_trce
    4        sqloEDUCodeTrapHandler
    5        __restore_rt
    6        ____strtoull_l_internal
    7        UnfencedOdbc_Server::verify_my_alter_server_info
    8        UnfencedServer::verify_alter_server_info
    9        UnfencedRelational_Server::verify_alter_server_info
    10       sqlqgAlterServer
    11       sqlnq_alter_server_mapping_one
    12       sqlnq_alter_server_stmt
    13       sqlnp_smactn
    14       sqlnp_parser
    15       sqlnp_main
    16       sqlnn_cmpl
    17       sqlnn_cmpl
    18       sqlra_compile_var
    19       sqlra_find_var
    20       sqlra_get_var
    21       sqlri_ddl_get_section
    22       sqlri_ddl_common
    23       sqlri_djx_rddl
    24       sqlriSectInvoke
    25       sqlrr_execute_immediate
    26       sqlrr_execimmd
    27       sqljs_ddm_excsqlimm
    28       sqljsParseRdbAccessed
    29       sqljsParse
    30       sqljsSqlam
    31       sqljsDriveRequests
    32       sqljsDrdaAsInnerDriver
    33       sqljsDrdaAsDriver
    34       sqeAgent::RunEDU
    35       sqzEDUObj::EDUDriver
    36       sqloEDUEntry
    37       start_thread
    38       __clone
    
    To reproduce:
    
    CREATE WRAPPER ODBC LIBRARY 'libdb2rcodbc.so' OPTIONS(DB2_FENCED
    'Y', MODULE'/opt/IBM/odbc/lib/libodbc.so')
    
    CREATE SERVER ODBC_SERVER TYPE ODBC VERSION 3 WRAPPER ODBC
    OPTIONS(DB2_IUD_ENABLE 'Y', node 'TESTNODE', dbname 'test',
    CODEPAGE '819')
    CREATE USER MAPPING FOR DB2INST1 SERVER ODBC_SERVER OPTIONS
    (REMOTE_AUTHID '<USERID>',REMOTE_PASSWORD '<PASSWORD>')
    
    db2 => ALTER SERVER ODBC_SERVER OPTIONS(DROP CODEPAGE)
    B21034E  The command was processed as an SQL statement because
    it was not a
    valid Command Line Processor command.  During SQL processing it
    returned:
    SQL1224N  The database manager is not able to accept new
    requests, has
    terminated all requests in progress, or has terminated the
    specified request
    because of an error or a forced interrupt.  SQLSTATE=55032
    

Local fix

  • Avoid dropping CODEPAGE server option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * The user is dropping codepage server option.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Cancun Release 10.5.0.4 (also known as Fix    *
    * Pack 4) or higher.                                           *
    ****************************************************************
    

Problem conclusion

  • Fixed in DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4)
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49987

  • Reported component name

    FEDERATION SERV

  • Reported component ID

    5724N9700

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-16

  • Closed date

    2014-09-15

  • Last modified date

    2014-10-14

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

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

    JR49988 JR49989

Fix information

  • Fixed component name

    FEDERATION SERV

  • Fixed component ID

    5724N9700

Applicable component levels

  • RA10 PSY

       UP

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

Document Information

Modified date:
14 October 2014