BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Welcome to the SAS forums.

Unfortunately your question and code are not clear. Or at least what you're looking for isn't clear. Can you please clarify what exactly you need help with.

I would also strongly suggest looking at the SAS Macro Appendix which has several sample macros, including one to check and see if a data set exists. That may be a good starting point for your solution.

Note: I've modified your subject line to make it more descriptive and attempted to format your code, but it's incomplete and buggy - you have incorrectly formed comments so it's hard to read or understand. And a big suggestion that will help you - include comments. Always. It tells both future you and others what you're attempting to accomplish or expecting.

View solution in original post

1 REPLY 1
Reeza
Super User
Welcome to the SAS forums.

Unfortunately your question and code are not clear. Or at least what you're looking for isn't clear. Can you please clarify what exactly you need help with.

I would also strongly suggest looking at the SAS Macro Appendix which has several sample macros, including one to check and see if a data set exists. That may be a good starting point for your solution.

Note: I've modified your subject line to make it more descriptive and attempted to format your code, but it's incomplete and buggy - you have incorrectly formed comments so it's hard to read or understand. And a big suggestion that will help you - include comments. Always. It tells both future you and others what you're attempting to accomplish or expecting.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1136 views
  • 0 likes
  • 2 in conversation