Joined: 14 Mar 2007 Posts: 8631 Location: Back in jolly old England
An easy way is using IEBPTPCH which is detailed in the utilities manual. You do not even have to know the names of the members that need to be copied, although the members will be copied in the order change, so that the latest changed members will be at the end of the output.
It is something I have used a lot, but unfortunately where I am now the import of your own libraries is frowned upon, so I don't have the code to hand. You will need to tidy the output a little, but that should be easy enough within the REXX code.
Or, you could use LISTDS to get the list of members in the PDS and then invoke IEBGENER to do the copies of each member. This way the members will be copied in alphabetical order.