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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.