By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,159 Members | 1,941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,159 IT Pros & Developers. It's quick & easy.

Text retrieved from database column being truncated

P: 2
An existing perl script was working fine. However on a new linux server the text that is retrieved from a varchar 5000 column is being truncated. Apparently the Perl version is the same. When I did some searching I found the "LongReadLen" attribute. Where is this set so that it would be picked up by all the perl scripts?
I tried to set it within the perl script to see if that would help and it failed, i.e.:
# --- connect to database ---/
$dbh = DBI->connect("DBI:Sybase:server=$dbserver",
$user, $passwd);
$dbh->do("use $dbname");
$dbh->{LongReadLen} = 6000;

Setting of CS_OPT_TEXTSIZE failed. at line 44.

Line 44 is the bolded line where the LongReadLen is set.

I would appreciate any assistance.
Jan 21 '08 #1
Share this Question
Share on Google+
1 Reply

P: 2
bumping this question
Jan 22 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.