I have a requirement where i need to find out the length of the field at runtime.
Say suppose my table has 2 columns, namely col1 and col2.
var1(2) type c,
var2(30) type c.
Now irrespective of what value is filled in variables var1 and var2.
I want to pick the value 2 and 30 i.e the length of these variables.
can anyone suggest a code