Hi,
I'm parsing a file that contains a string and an other field that contains the length of the first field. What I want to do is to be able ton substring the first field so I can only keep the number of characters in the second field.
For example :
Parameters : p_field1
p_length
Variables : l_field
Code :
LET l_field = p_field1[1,p_length]
But when I put l_length as a parameter, it does not work. I need to put an integer. Is there a way to do this to use the p_length parameter instead on an integer fix value ?
Thanks,
Chantale