Have you tried to sending a mail using a DATA Step, or using conditional logic in a DATA Step
? And for the DOS-command, I am not sure if there is any viability or not. You can try the reference solution provided above.
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!