Could you be more specific about that ? Because I can't understand what's your problem...
It is possible to use recursive methods, as in most languages I think. If you mean something like that :
Code:
RUN myProc(1).
PROCEDURE myProc :
DEF INPUT PARAMETER p1 AS INT.
IF p1 < 10
THEN DO :
DISP p1.
RUN myProc(p1 + 1).
END.
END PROCEDURE.
it is possible !