Professional Web Applications Themes

UDF Problem (to_char() migration sample) - IBM DB2

Hi, I have build the UDF sample TO_CHAR(timestamp, dateformat). It built successfully but, on executing the function I got following message: DOM411.TO_CHAR - Run started. DOM411.TO_CHAR - Exception occurred while running: [IBM][CLI Driver][DB2/NT] SQL0101N The statement is too long or too complex. SQLSTATE=54001 DOM411.TO_CHAR - Roll back completed successfully. DOM411.TO_CHAR - Run failed. Any help would be appreciated.. Thanks Mukund -- Posted via [url]http://dbforums.com[/url]...

  1. #1

    Default Re: UDF Problem (to_char() migration sample)


    Hi,

    I have build the UDF sample TO_CHAR(timestamp, dateformat).
    It built successfully but, on executing the function I got
    following message:

    DOM411.TO_CHAR - Run started.
    DOM411.TO_CHAR - Exception occurred while running:
    [IBM][CLI Driver][DB2/NT] SQL0101N The statement is too long or too
    complex. SQLSTATE=54001


    DOM411.TO_CHAR - Roll back completed successfully.
    DOM411.TO_CHAR - Run failed.

    Any help would be appreciated..

    Thanks
    Mukund

    --
    Posted via [url]http://dbforums.com[/url]
    mbhalerao Guest

  2. #2

    Default Re: UDF Problem (to_char() migration sample)

    What's your current value of stmtheap? (default?)
    Did you try to increase it?

    PM


    "mbhalerao" <member32686dbforums.com> a écrit dans le message de news:
    [email]3081628.1057586429dbforums.com[/email]...
    >
    > Hi,
    >
    > I have build the UDF sample TO_CHAR(timestamp, dateformat).
    > It built successfully but, on executing the function I got
    > following message:
    >
    > DOM411.TO_CHAR - Run started.
    > DOM411.TO_CHAR - Exception occurred while running:
    > [IBM][CLI Driver][DB2/NT] SQL0101N The statement is too long or too
    > complex. SQLSTATE=54001
    >
    >
    > DOM411.TO_CHAR - Roll back completed successfully.
    > DOM411.TO_CHAR - Run failed.
    >
    > Any help would be appreciated..
    >
    > Thanks
    > Mukund
    >
    > --
    > Posted via [url]http://dbforums.com[/url]

    PM \(pm3iinc-nospam\) Guest

Similar Threads

  1. have problem with blobs when migration from cf4.5 to cf6
    By alecsey in forum Coldfusion Database Access
    Replies: 0
    Last Post: July 25th, 08:43 AM
  2. Problem resolved (tsearch2 inhibiting migration)
    By Karl Denninger in forum PostgreSQL / PGSQL
    Replies: 6
    Last Post: February 4th, 03:20 AM
  3. DB2 migration problem
    By Damir Wilder in forum IBM DB2
    Replies: 0
    Last Post: August 22nd, 11:52 AM
  4. Oracle 8 to DB2 migration problem.
    By Dmitry Balin in forum IBM DB2
    Replies: 1
    Last Post: July 23rd, 12:36 PM
  5. Problem with SDK v1.1 sample...
    By in forum ASP.NET General
    Replies: 3
    Last Post: July 3rd, 07:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139