IBM Support

IC96234: CLI0113E ERROR OCCURS ON TIMESTAMP LITERAL VALUE FOR OUTPUT PARAMETER OF STORED PROCEDURE WHEN IMPLICIT CAST IS DISABLED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The following error may occur from a CLI/ODBC application when
    calling a stored procedure with a timestamp supplied as a
    literal value for an output parameter:
    CLI0113E  Invalid date/time format
    
    This works fine when when the implicit cast feature is enabled
    but when it is disabled (via DB2 for z/OS APAR PM77180), and
    any datatype mismatch, server hit -301 error and cli will retry.
    while retrying validation is being done on the timestamp literal
    value that is supplied for the output parameter.  If the value
    supplied is not a valid timestamp value (For example, an empty
    string '') the CLI0113E error will occur.
    
    This APAR will replace the output literal value to a null
    indicator even when the parameter is not bound but has the
    values supplied during call.  This will avoid the CLI0113E error
    

Local fix

  • As a workaround, supply a value for the timestamp output
    parameter that has a valid timestamp format.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL DB2 CLI users                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v97fp9 and later                              *
    ****************************************************************
    

Problem conclusion

  • fixed in db2_v97fp9 and later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96234

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-25

  • Closed date

    2013-12-18

  • Last modified date

    2013-12-18

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

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

    IC96713 IC96874

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC96234

Modified date: 18 December 2013