How to add input box to sas sql query which ask user about parameter ? (Something aka Access input box) (in Enterprise Guide)
相关问题
- Delete the group that none of its observation cont
- Reading data from a SAS data source in .Net
- Simple way to do a weighted hot deck imputation in
- Problems with SAS DDE with Office 2010
- Reading observations from SAS dataset into arrays
相关文章
- Finding all possible paths in a dataset using sas
- How do I save a TextEdit (mac) file with a custom
- Logical function in SAS to determine if a particul
- Efficiently concatenate many sas datasets
- Python sas7bdat module usage
- PROC SQL in SAS - All Pairs of Items
- How to summarize all possible combinations of vari
- Tell SAS not to add newly generated tables on the
Are you using Enterprise Guide? If thats the case, you can create prompts which will create macro variables when you run your code. You will just have to use those macro variables in your code.
Right click your program > Properties > Prompts > Prompt Manager and so on. Have a look at it and see if it solves your problem.
Here is a solution using BASE -
You could use the %Window procedure with the %display
This above is an example of using the "user input" to operate on your query/data step. In this case, I am prompting the user to enter a date, which creates that string value as a macro variable that can be passed anywhere in your SAS code (I am only using the string date format because it gets passed to an RSUBMIT in a DB2 environment). May be a good idea to play with the Input Lines/etc to display the text you want in your prompt window...