can index be displayed .
can index be taken into some other variable?
01 ORIG-STRING.
05 STRING-1 PIC X(36).
05 STRING-2 REDEFINES STRING-1 PIC X(1) OCCURS 36 TIMES
INDEXED BY INDX1.
SEARCH STRING-2 when string-2 (indx1) = temp(i:1)
SET INDX1 UP BY 1.
now can i get this indx1 into some other variable. or can i display indx1?