dbTalk Databases Forums  

SQLCA.SQLERRM cuts CHAR variable

comp.databases.informix comp.databases.informix


Discuss SQLCA.SQLERRM cuts CHAR variable in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
eferreyra
 
Posts: n/a

Default SQLCA.SQLERRM cuts CHAR variable - 10-18-2011 , 11:30 AM






Hi, concatenating the value of SQLCA.SQLERRM in 4GL truncates the
string:

LET lvar = "Status Error ISAM: ",lisam_err USING "-######","\n",
"SQLERRM: ", SQLCA.SQLERRM CLIPPED,"\n", <------ HERE
CUTS, NEXT ISNT IN lvar
"Error: \n", g_err_msg CLIPPED, "\n",
"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - \n"

Anyone knows why or how to avoid it ?

I tried assing to a var and the concatenating the variable but no
good...

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.