![]() ![]() last but not least i would really like to see the. It would be nice if i could see the SAS options effecting my current session without writing some SAS Code with proc options or querying the Dictionary/SASHELP Views. the same addin would be nice for SAS Options. You can get that information from the SQL Dictionary Tables: you could also add some information which Macros are already compiled in your session. add an option to hide automatic global variables which are used by EG like _client*. When the variables are not grouped by scope, you don't know the actual scope. add another column with the variable scope. fix the following bug: click 'toggle groups', sort the view by clicking on column header 'Macro variable', click 'toggle groups' again and the content of the view completely disappears. If you're interested, I've shared a version of the source code behind this task on GitHub. I built the task using the custom task APIs and Microsoft. I created this tool years ago as a custom task, but it's been included with SAS Enterprise Guide as an "official" tool for several releases. Note: the expression can be any macro expression that is valid for the right-side of a macro variable assignment ( %let statement). If the expression generates a SAS warning or error, the feedback window shows that as well. ![]() Macro expression "quick view": Have you ever wanted to test out a macro expression before using it in a longer program? This window allows you to get immediate feedback on a macro expression, whether a simple macro reference or a more complex expression with nested functions. This generates a series of %LET statements - one for each macro variable/value pair - which you can then paste into a SAS program. Set window transparency: You can make the window appear "see-through" so that it doesn't completely obscure your other windows as you work with it.Ĭopy macro variables as %LET statements: Select one or more macro variables within the window, right-click and select Copy assignments. To clear the filter, click on the X button next to the "Filter results" field, or "blank out" the text field. This is a convenient way to narrow the list to just a few variables that you're interested in. The filtered results will match on variable names as well as values, and the search is case-insensitive. Click on the column headers to sort the list.įilter results: Type a string of characters in the "Filter results" field, and the list of macro variable results will be instantly filtered to those that contain the sequence that you type. View by scope or as a straight list: View the macro variables in their scope categories (for example, Global and Automatic) or as a straight list, sorted by variable name or current value. One-click refresh: Refresh the list of macro variables by clicking on the Refresh button in the toolbar. Select active SAS server: If your SAS environment contains multiple SAS workspace connections, you can switch among the different servers to see macro values on multiple systems. This makes it easy to switch between SAS programs and other SAS Enterprise Guide windows and the macro variable viewer to see results. ![]() The window uses a "modeless" display, so you can still interact with other SAS Enterprise Guide features while the window is visible. This tool offers the following main features:Īlways-visible window: Once you open the task from the Tools menu, you can leave it open for your entire SAS Enterprise Guide session. SAS Macro Variable viewer: features and function If you want to learn how to use the tool and see it in action, watch my SAS Tip tutorial on YouTube. If you develop or run SAS macro programs, this task can be a valuable debugging and learning tool. You can also evaluate "immediate" macro expressions in a convenient quick view window. You can use it to view the current values for all SAS macro variables that are defined within your SAS session. The SAS macro variable viewer is a tool that's part of SAS Enterprise Guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |