IBM Support

IZ07096: SQL0104 WHEN CALLING STORED PROCEDURE WITH A SEMI-COLON

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Calling a stored procedure containing a semi-colon will return
    SQL0104 after applying DB2 v8 FixPak 12 or higher.  DB2 v9 GA is
    also affected.  This issue occurs only when connecting to DB2
    for z/OS.
    
    CLI traces will show that the SQL statement is truncated.  This
    issue can be reproduced regardless of whether
    the internal SYSIBM.SQLPROCEDURECOLS is called.
    
    SQLPrepareW( hStmt=1:1, pszSqlStr=" call TESTSP(?,?,? );",
    cbSqlStr=22 )
    ---> Time elapsed - +1.656000E-003 seconds
    ( StmtOut="CALL TESTSP(?,?,?" )
    

Local fix

  • Change application by removing the semi-colon from the CALL
    command or add curly braces around the call command i.e. {CALL
    TESTSP(?,?,?);}
    

Problem summary

  • See ERROR DESCRIPTION.
    

Problem conclusion

  • Problem was first fixed in Version 9 Fixpak 5 (s080512).  At
    a minimum this fix should be applied on the client side.
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IZ07096

  • Reported component name

    DB2 UDB ESE SOL

  • Reported component ID

    5765F4102

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-10-23

  • Closed date

    2008-07-12

  • Last modified date

    2008-07-25

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

    LI72596

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

    IZ28246

Fix information

  • Fixed component name

    DB2 UDB ESE SOL

  • Fixed component ID

    5765F4102

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 July 2008