Hi

I think you cannot do it that way.

You need to use either var1 var2 var3 var4 and var5

or $1 to $5 in your case or you need to use array korn shell for example supports arrays.

regards
Hrishy