Error 280 - IDS 7.31
Posted in 2007
Topics: Versions, Editions & End-of-Life
I have a char(1000) in an IDS 7.31. I can't insert a string of more than 256 characters in this column. Error 280 - "A quoted string exceeds more than 256 bytes". Any idea to solve this problem different of upgrading the IDS. Thank you very much.
Hi, How do you insert ? With a static statement or a cursor (and host variables ?) ? Try using a cursor/preparedStatement. I have no environment here with 7.31, but I assume this should work. If not, you could try text datatype or lvarchar instead of char. Marcus -----Original Message----- From: CEFE HERRERO DIAZ [mailto:cefeherrero@telecable.es] Sent: Wednesday, June 13, 2007 10:58 AM To: ids@iiug.org Subject: Error 280 - IDS 7.31 [9342] I have a char(1000) in an IDS 7.31. I can't insert a string of more than 256 characters in this column. Error 280 - "A quoted string exceeds more than 256 bytes". Any idea to solve this problem different of upgrading the IDS. Thank you very much. ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.
You can do it using dbload or in a host language (ie: C using ODBC or ESQL/C,
C++ using ESQL/C or the C++ library, Java w/JDBC, Perl with DBD/DBI-Informix,
the new PHP interface, 4GL or one of its clones, etc.) using a host variable to
hold the string.
Art S. Kagel
----- Original Message -----
From: Marcus Haarmann <ids@iiug.org>
At: 6/13 5:23:22
Hi,
How do you insert ? With a static statement or a cursor (and host variables ?)
?
Try using a cursor/preparedStatement.
I have no environment here with 7.31, but I assume this should work. If not,
you could try text datatype or lvarchar instead of char.
Marcus
-----Original Message-----
From: CEFE HERRERO DIAZ [mailto:cefeherrero@telecable.es]
Sent: Wednesday, June 13, 2007 10:58 AM
To: ids@iiug.org
Subject: Error 280 - IDS 7.31 [9342]
I have a char(1000) in an IDS 7.31.
I can't insert a string of more than 256 characters in this column.
Error 280 - "A quoted string exceeds more than 256 bytes".
Any idea to solve this problem different of upgrading the IDS.
Thank you very much.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.