IBM Support

JR28187: CREATE FEDERATED STORED PROCEDURE RETURNS SQL0204N FOR MS SQL SERVER 2005 IF REMOTE STORED PROCEDURE IS A DEFINED SCHEMA.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Create federated stored procedure returns SQL0204N for MS SQL
    server 2005 if remote stored procedure in a defined schema
    versus schema associated with user.
    
    Reproduce instructions
    connect to test;
    create wrapper trusted_ms library 'libdb2mssql3.a' options
    (DB2_FENCED 'N');
    create server <servername> type mssqlserver version 2005 wrapper
    trusted_ms options (node '<nodename>', dbname <dbname>;
    create user mapping for user server <servername>
    options(remote_authid '<authid>', remote_password '<password>');
    
    SET Passthru <servername>;
    ***Following commands executed MSSQL datasource***
    Drop schema [<schemaname>];
    CREATE SCHEMA [s<chemaname>] AUTHORIZATION [dbo];
    DROP PROCEDURE [<schemaname>].[<procedurename>];
    CREATE PROCEDURE [<schemaname>].[<procedurename>]
    
    <insert procedure code here>
    
    SET PASSTHRU RESET;
    
    ***Following commands executed on federarted database
    
    DROP PROCEDURE <federated schema>.<federated procedure>;
    --The following stmt report SQL0204N error
    CREATE PROCEDURE <"federated schema">.<"federated procedure">
    SOURCE "<datasource schema>"."<datasource procedure>" NUMBER OF
    PARAMETERS 14
    FOR SERVER <server> MODIFIES SQL DATA NOT DETERMINISTIC EXTERNAL
    ACTION ;
    

Local fix

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 2 (s080811).
    This fix should be applied on the federation server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR28187

  • Reported component name

    CONTROL CENTER

  • Reported component ID

    5724N9704

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-02

  • Closed date

    2008-09-16

  • Last modified date

    2008-09-16

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

    JR28167

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

    JR28217

Fix information

  • Fixed component name

    CONTROL CENTER

  • Fixed component ID

    5724N9704

Applicable component levels

  • R910 PSN

       UP

  • R911 PSN

       UP

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVQ9","label":"Wrapper Administration\/DB2 Control Center"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 September 2008