Since you are already using a macro language element (%SYSEXEC), you could wrap it in a macro loop to execute across a list of files. There are several ways to do this depending on how comfortable you are with the macro language (there are even non-macro solutions). There have been a number of forum threads on list processing and there are a number of papers on the topic as well (Ron Fehd has several).