unicsonline wrote: > It seems better but I have now to find how build this formula for any cases, between one db source to x dbsources Iteratively would seem to be the way to do it. In shell I'd do it like : rpn="data${x}" i = $(( $x - 1 ) while $i > 0 do rpn="data$i,UN,${rpn},data$i,IF" i=$(( $i - 1 )) done