04-27-2015 10:16 AM
Is there any SAS code(not in command line ,but just in SAS program code,it should be interactively,such as call a macro that can run 'SAVE AS' ) that can operate SAS menu?
Give an example:
I want write a row of SAS code(e.g:"%sysfunc(SaveAs))" ,after I run that code, it will show me "SAVE AS menu"(just as if I click with my mouse on : file-->save as)
04-27-2015 10:24 AM
Not really. I mean you could use proc window or something to get user input, then save something to a file by using a datastep and file. Why though? SAS scripts aren't really the place to be doing UI's? Give a more verbose description of the problem.
04-27-2015 03:11 PM
Use the DM statement to call a command line command.
Use the DLGSAVE to open the SAVE As window.