Thank you.
The problem is I can see that $VARIABLE value in echo cmd, but I have a feeling that shell (ksh) does not see it in the command:
newvar=`echo $var | awk ' { m=split($0,Ar,"rcd") } END { print Ar[2] }'`
where $var contains $VARIABLE.
It seems VARIABLE was not lost (echo outputs its...