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.
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.