USE OF ARRAYS IN CLIST
 

Arrays are not supported by CLIST, but REXX has this option. In case you still want to use arrays in CLIST, find below the work around.

SET NUM=1                               SET &ARRAY = &STR(&&ARRAY)              DO WHILE &NUM