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.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 1052 views
  • 0 likes
  • 2 in conversation