Use the NEWFILE option on the ODS PDF statement. Note that you cannot control the names of the output.
If you need to control the name, then you should use a macro.
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!