in a group variable
01 N pic X(10).
05 var1 pic x(5)
05 var2 pic x(5)
05 var3 pic x(5)
this group variable has a length of 15
and i have another variable N ,and n pointouts the position
if its position lies between 1 to 5 then it should dispaly var1 and
if its position lies between 6 to 10 then it should dispaly var2 and
if its position lies between 11 to 15 then it should dispaly var3
like that i want to dispaly the field names based on the position
can any one guide me how to do this???