sorry for the delay, I'll see that then get back to you.
Thank you
Gick
Sounds like you have your answer. Earlier in your code you have generated unbalanced quotes and it takes until that %IF statement tries to run for it to cause an actual syntax error.
Perhaps we have an XY problem here? https://xyproblem.info/
Can you explain what the overall goal is of this program?
Perhaps there is a simpler solution that does not require storing the values of dataset variables into macro variables where they can potentially cause syntax errors?
Hello,
I often receive the data. The idea is to have a program that I will launch each time data is received.
Thank you.
Gick
@Gick wrote:
Hello,
I often receive the data. The idea is to have a program that I will launch each time data is received.
Thank you.
Gick
Yes, but why do you think you need a complete list of variable values in a macro variable? Instead of repeating code over all values, use the power of BY.
@Gick wrote:
Hello,
I often receive the data. The idea is to have a program that I will launch each time data is received.
Thank you.
Gick
Not asking about WHEN you run the program. The question was WHY are you running that program. WHAT is the goal of the program as a whole? WHY does the program appear to be putting data into macro variables? WHAT is the final output?
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.