Dynamic substring
Posted: Mon Jul 21, 2008 12:15 am
I am getting a parameter for my job that includes one or more value for substring the main data. For example the value of the parameter is P_SUB=d[1,5].
On the stage variable in the job I am doing Ereplace(P_SUB,'d',LT_data.data).
So the result of the command in a flat file is 'assdfdd [1,5]' and not 'assdf'.
Any idea?
Thanks
On the stage variable in the job I am doing Ereplace(P_SUB,'d',LT_data.data).
So the result of the command in a flat file is 'assdfdd [1,5]' and not 'assdf'.
Any idea?
Thanks