Über dynamisch erzeugte Variablennamen kann man soweit ich weiß in CL nicht auf Variablen zugreifen.

Aber pack das eigentliche Kopierprogramm doch in ein eigenes Programm (Programm CPYTOCSV2) und mach ein paar CALLs anstelle des DOFORs:
PHP-Code:
CALL PGM(CPYTOCSV2PARM(&LIB1 &DBFILE1)
CALL PGM(CPYTOCSV2PARM(&LIB2 &DBFILE2)
CALL PGM(CPYTOCSV2PARM(&LIB3 &DBFILE3)
CALL PGM(CPYTOCSV2PARM(&LIB4 &DBFILE4)
CALL PGM(CPYTOCSV2PARM(&LIB5 &DBFILE5)
...