I have created a scheduled task in Windows to execute a SAS job every morning. In my test runs, the scheduler successfully opens the SAS code and runs it. However, it will error out on my last "PROC EXPORT" statement.
If run the code manually (not using the scheduled task in Windows) it exports the file perfectly.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.