I frequently write and use ISPF edit macros. However, invoking them in foreground is time consuming. Can I use a Rexx program to run the edit macros against all, or a selection of, members of a PDS via batch?
You can use Library Management functions.
You use LMINIT to get a DATA ID for the dataset to be edited and then use the LMOPEN function to open the dataset.
The above could be done in various programming languages, although REXX would probably be the simplest.