Hello SASers,
I have been creating macros(methods) in sas and would like to add a hover message to my macros . The idea is to display data to the user when the user calls the macro to further explain the parameters that should be input.
Best,
I think you might want to expand on what you are attempting, environment and what you have done so far. Your statement of
"display data to the user when the user calls the macro to further explain the parameters" sounds like you want to display the required paramenters after the macro has already executed i.e. "when the user calls the macro".
I think what you are talking is about "auto-completion" which is found in most modern code editors. Unfortunately SAS's Enhanced Editor is a bit of old beast. The nearest thing (at least to V9.3) is abbreviations, Tools->Add Abbreviation. Check out the docs for more info: http://support.sas.com/resources/papers/abbreviations07.pdf
Thanks all,
I ended up realizing how limited SAS is in the regards of GUI creation. Because I was unable to create a program based on SAS alone I decided to just make a macro and hope the users will be able to understand. The idea was exactly as RW9 was describing. In python you can create functions and when the user calls the function/macro/method a small box describing the parameter is available. This provides the user more information. I just decided to use the window function to display everything once they call the macro. RW9 your link failed to bring anything up, but I'll keep trying thanks.
Thank you all for your help. Sorry for the delayed response. It was a little time sensitive.
The doc seems to have been removed, google SAS Abbreviations should throw up the documentation. Yes, GUI creation is pretty much non-existant in SAS.
This is something that is available in the editor in Enterprise Guide.
But yes, the editor in Base SAS sucks. :smileyangry:
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.