I have not written many stored processes in SAS EG. I did create one to store code that is used multiple times in many sets of code with the idea that if changes are needed, I could change it in one place for all code. I was hoping that the output could just be sent to a work. file. The code runs fine when I use the work. file but it appears to not be saving the data as I cannot reference the work. file further in the code. If I use a permanent SAS dataset it runs fine. I was hoping to just create a temporary work file though. Is it possible to just create a work file using Stored Processes?
No, because the work session disappears when the stored process is done. You can write the file to a temp or perhaps rather than a stored process use a %INCLUDE to call the program instead.
No, because the work session disappears when the stored process is done. You can write the file to a temp or perhaps rather than a stored process use a %INCLUDE to call the program instead.
Thank you! The Temp file worked.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.