View previous topic :: View next topic |
Author |
Message |
pkrish_18 Beginner
Joined: 08 Apr 2005 Posts: 12 Topics: 7
|
Posted: Sat Jun 04, 2005 9:08 am Post subject: Inserting to VARCHAR(1190) with more than 255 chars. |
|
|
Hi,
Thru spufi or QMF, if I try to Insert value for a VARCHAR(1190) db2 column, (the actual value which I am trying to insert is more than 300 chars length) , it through's an SQLCODE -102 LITERAL STRING IS TOO LONG. STRING BEGINS string .Can anyone pls let me know why this is happening?. Is there any way of avoiding this? or is there any alternative of doing this?
Regards,
Krish |
|
Back to top |
|
 |
rony&ruby Beginner
Joined: 27 May 2005 Posts: 12 Topics: 1 Location: China
|
Posted: Sun Jun 05, 2005 7:45 am Post subject: |
|
|
Hi pkrish_18:
Had you tried with IKJEFT01 jcl run? You can write you sql in instream statements or write them in a dataset.
Maybe spufi has restiction on long string connect, but I am not sure.
And make sure that your connection of each ling was ok.
Welcome to discuss.
Rony&Ruby _________________ Ron Yang |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12383 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
rony&ruby Beginner
Joined: 27 May 2005 Posts: 12 Topics: 1 Location: China
|
Posted: Tue Jun 07, 2005 2:55 am Post subject: |
|
|
Thanks kolusu! _________________ Ron Yang |
|
Back to top |
|
 |
|
|