I'm trying to reference macros that are stored in my CAS User folder in various other programs. I keep getting an error saying the physical file doesnt exist. Can you use %include as a CAS function? How do you reference the file path? Is the syntax different? For example, some CAS syntax I have used uses spaces in the path vice "/"s. Any help would be greatly appreciated.
I'm moving this post to the Developers Community as we are sunsetting Coding on SAS Viya.
This may be tangentially related to a question a few days ago in this post.
Depending on your SAS Viya environment set up, you may need to use the FILESRVC Access method in the filename statement. Please access the earlier reference post for an explanation and code samples.
If this does not solve your issues, as @alexal stated, logs will be helpful.
Join us for SAS Community Trivia
SAS Bowl XXXVI, Data Simulation
Wednesday, December 13, 2023, at 10 a.m. ET | #SASBowl
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.