IBM Support

IC78017: CALL PROCEDURE COMMAND OF MORE THAN 64K SIZE THROWS SQL0104N ERROR WHEN EXECUTED USING CLP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CALL Procedure command of more than 64K size throws SQL0104N or
    SQL0440N error when executed using CLP.
    
    Suppose in file foo.clp, there is a CALL statement with more
    than 64K size, then while execution, we get the below error:
    
    $ db2 -tvf foo.clp
    
    SQL0104N  An unexpected token "CALL" was found following
    "BEGIN-OF-STATEMENT".
    Expected tokens may include: "<call>". SQLSTATE=42601
    
    or
    
    SQL0440N  No authorized routine named "<routine-name>" of type
    "<routine-type>" having compatible arguments was found.
    

Local fix

  • To call the statement in a compound statement
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Vast sql statement fails with SQL0104N error on CLP session  *
    * but the compound statements including the target statement   *
    * can work well.                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2 Version 9.7 FixPak 6                          *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 FixPak 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC78017

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-10

  • Closed date

    2012-06-11

  • Last modified date

    2012-06-11

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 June 2012