In SAS 9.4, I am sending using the Output window with the Listing preference. The window, however, does not automatically scroll to show new output. For example, if I first do a proc print, the output will show up on the first page of the Output window. If I do an additional proc print, the Output window remains on the first page and does not automatically scroll down to show the second proc print results. There must be a preference that I am not setting correctly, but haven't figured it out. Thanks in advance for your suggestions/solutions.
djohns
Thanks for the comments.
This problem was resolved by setting Tools->Options->Preferences->Results by checking 'Create Listing', unchecking 'Create HTML', and checking 'View Results as they are Generated'. It seems like I did this several times.
I'm not sure that this was necessary, but I also set Tools->Options->Output->Display Autoscroll to 'PAGE', and checked 'PAGE MODE'.
Now when I do a Proc, the output goes to the Output window and the Output window pops to the front showing the page with the latest output.
Related
Problem: When attempting to use conditional formatting on a card, table, etc. I can right click off the measure or column data involved to select conditional formatting. The process starts and the conditional formatting window starts up, but never completes and appears as a “Pop Up” to select conditions. It does show up as a second Power BI window.
Context: I using a Mac w/ 16GB ram and running windows 10 via the latest version of Parallels. I am running the latest Power BI Version. Models are built from SQL Imports. I have a Pro Edition of Power BI. I have looked through the Options section of Power BI and applied everything that could be removing involved in this situation. I am an analyst not a code writer.
Questions:
Is this a Power BI or Windows issue?
Are there any know resolutions to this type of problem?
What do I need to confirm or check on in Power BI
If it helps, here's what I see on Windows. I have selected a table visual. In the Visualizations pane, I right click a field. I select Conditional formatting > Icons. I get a pop up window that lets me configure the conditional formatting. It sounds to me like this is working for you just fine.
The popup window is large and cannot be resized. The OK button is at the bottom of the window, and if your monitor is too small, you won't be able to see it. I'm guessing this is the issue you are running into.
If you don't see the OK button on the bottom of the popup window, the simple solution is to use a bigger monitor or try dragging the window higher so you see the bottom buttons. If this isn't an option, one workaround could be "clicking" OK through key commands.
Here are the key commands that would allow you to "click" OK:
Click on the top most control to select it. In my popup window, it is the Format by dropdown.
Press shift-Tab. This selects the X button in the upper right corner of the popup window.
Press shift-Tab again. This selects the Cancel button on the form.
Press shift-Tab one more time. This should select the OK button.
Press enter. This should select OK and complete your changes.
I hope you can help here.
I'm trying to create a new column on the Data screen on PowerBI Desktop.
I click [New column] and it adds a column "Column" - however when I try to rename it I get a data refresh message (see attached screenshot) and the column doesn't get added.
This happens as soon as I click into the 'Name' field or right click on the column in the 'Fields' panel.
This seems a peculiar feature. Otherwise I'm guessing it's a bug.
I've reinstalled the PowerBI desktop app however get the same results.
enter image description here
Thanks for the replies!
Please add some text or anything while creating column. Otherwise when you click on any other place it will automatically removed.
e.g. Column = "Test"
After adding above code try to rename.
I got it by chance.
Submit this to SAS:
proc toolbar;
quit;
The Log says:ERROR: Unable to open ..., I think it indicates proc toolbar is some kind of procedure but I just didn't use correct syntax. Because if there is not a procedure named toolbar it would be another kind of hint: ERROR: PROCEDURE XXX not find. You can validate it using the following example.
proc XXX;
quit;
I dont't find any documents about proc toolbar. How do you know about it? could you please share with me?
Currently, custom toolbars for SAS display manager sessions are created using the display manager command TOOLDEF and loaded (or attached) to a window using command TOOLLOAD.
Proc TOOLBAR may be a deprecated or an abandoned experimental procedure that is for programmatically creating custom toolbars.
As for
ERROR: Unable to open ...
The mystery of what ... is remains.
Attempts to specify a procedure option produces a log message
ERROR 22-322: Expecting ;.
So maybe the procedure does not allow options.
The procedure does process an ITEM statement that was likely the syntax for associating an entry with a command and icon
item <name> command="<command>" icon=<icon-number>
Every attempt to run Proc TOOLBAR will create a new temporary catalog in the WORK folder.
proc toolbar cat=work.play.one;
item work command="dir work" icon="123";
item view command='viewtable &syslast';
quit;
Aside for icons
The SAS display manager command regedit raises the SAS registry editor window. Icon numbers for various classifier mnemonic can be seen in the drill path SAS_REGISTRY/CORE/CLASSIFIERS and for SAS explorer at SAS_REGISTRY/CORE/EXPLORER/ICONS. The SAS registry editor does not display the icon image that corresponds to the icon number.
Example:
Classifier 100 is named COPYITEM and will show icon #173 in the display manager UI. The datatype of the names are strings as shown by the preceding [ab] icon.
However, you can download and run an improved registry viewer application built with SAS/AF that does show icon images adjacent to icon numbers.
See page "SAS/AF Registry Browser" for information about the viewer application. The viewer can be installed and run by submitting
LIBNAME EXAMPLE "%sysfunc(pathname(WORK))";
filename INSTALL
URL "https://www.devenezia.com:443/downloads/sas/af/example/registry-browser/registry-browser.xpt"
;
PROC CIMPORT LIB=EXAMPLE FILE=INSTALL;
RUN;
filename INSTALL;
proc display cat=EXAMPLE.REGISTRY.BROWSER.FRAME;
run;
Other interesting artifacts from bygone days
Proc PMENU
SAS Explorer use and customization
There are a number of procs in SAS that are dead/defunct. They are normally very hard to find info on. A few years ago, with some sleuthing, I got proc explode to work. An old procedure to write large letters on greenbar back in the mainframe printer days. I am sure there are many, many more. I think I remember proc toolbar but has been 20+ years. Maybe an AF proc when SAS was on the old editor.
Honestly, I would ignore it as having any value. I suspect dozens of abandoned procs in the code base.
I am aware of this but I have to use the sas kernel. This means that the suggested JavaScript to collapse all code cells by default does not work. How can I collaps all code cells and just show MarkDown and outputs/graphs/tables?
I was able to get it to work with Jupyter in SAS UE with the SAS kernel.
So I created a cell, with type = Raw NBConvert and then in the cell selected HTML.
Then I added a few test cells with SAS code.
Then I went to Print Preview and there's a button at the top that shows the outputs with the code nodes collapsed (invisible actually) and then you can press the button to have them appear.
Problem Description:
when viewing a sas table in VIEWTABLE, the header for each column is default to show column description, how do I make it show column name instead?
I am using SAS version:9.3
What I did so far:
I found the following solution online (This solution was tested on SAS 9.2)
VT SASHELP.VCOLUMN COLHEADING=NAMES
when I run this command I was given the following error
8713 VT SASHELP.VCOLUMN COLHEADING=NAMES
--
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
The point and click version of the solution did not work for me either.
That is a dm command, so you need to submit it to DM:
dm 'VT SASHELP.VCOLUMN COLHEADING=NAMES';
You could also assign that command (what you have, in mine just the part within the quotes) in KEYS ('keys' in the command bar). You also can do this on a case by case basis in the VIEW menu once you've opened the dataset.
The way to do this permanently:
Open the Explorer (View -> Explorer)
Tools->Options->Explorer
Select Members
Select Table, Edit
Select &Open, Edit
Add COLHEADING=NAMES to the end of the string already present (should be something like VIEWTABLE %8b."%s".DATA COLHEADING=NAMES after you finish).
Save everything (OK to all dialog boxes).
This will only persist if save settings on exit is enabled in the preferences (tools-options-preferences) and this is not an rsasuser session (read-only access to user profiles).