Hello expert,
I would like to get from you
- the avantage of prompt on sas EG
- the disavantages of prompt on sas EG
Thank you
I'm going to make a general observation that may help.
Since a Prompt is user entered text the advantage is that the user gets to enter what he wants (he thinks) and can be flexible.
The disadvantages are all related to how and what is entered that is not expected. You may expect a single value such as 2, the users enter multiple values such as1 2 3 or attempt to enter a range "1 to 3" or "1 - 3". Or the value should be numeric but users enter $45 (they think it is numeric but the $ isn't expected) or entering words. There are many permutations of this behavior.
So who ever writes the program code needs to add either constraints on what can be entered or check the values after entering for validity. Then provide nice feedback about the values entered don't work.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.