I am doing an muti row fetch from a table. But I am getting an sqlcode of +354. I have done cross checking of the table mapping and DCLGEN array mapping and it is exactly same except for a VARCHAR field, for which we have to add the lenth field also, as show below.
Variable MY-FIELD is used in the fetch clause. Table column is declared as VARCHAR 255. Can anybody share some info, if you have come across any similar situations?
If we need to do 'GET DIAGNOSTICS', Can any body give me some ref link for the same.