SAS EG -How to keep "Program" window open when error in log - sas

I've just switched to SAS EG from PC-SAS. If I run code from the Program tab, and it creates an error, my view is automatically changed from the Program tab to the Log tab. I'd like to turn this off. Is there an option for this?

Go to menu Tools-> Options -> Results. Under managing results section, uncheck "Display SAS log when errors occur."
As a side note, under Tools->Options->SAS Programs->Editor Options you will find a familiar menu for customizing how the editor looks and works.

Related

xcode change the console output to terminal 9.1

Hey guys i'm learning about algorithms at the moment and I have written the Lee algorithm.
What I'm trying to do now is highlight the shortest path it finds in red text in the console.
I found this thread which explains what it is I'm trying to do however the option is no longer there in xcode 9.1
The answer: Output bold text to console in C (on Mac - Xcode)
When I go through edit scheme > options > run the tickbox is not there, any ideas?
I had the same problem. Solution:
instead of 'edit scheme' click 'new scheme', give it a name and save
now choose that new scheme you've just created and click 'edit
scheme'
go to the 'Info' tab and in a menu 'Executable' choose
'Other...'
in file window go to search input field and type
'terminal' and click on its icon when you find it. Now you should see 'Terminal.app' in 'Executable' field
go to the 'Arguments' tab, click on + and copy and paste this line there: ${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}
click 'close' and run your program with your new scheme selected
Normally Xcode will open terminal for you. If not, you may also turn off any debug related fields in the 'Info' tab. Hope this helps!
Full tutorial here:
https://www.raywenderlich.com/163134/command-line-programs-macos-tutorial-2
when in edit scheme > options > run, by default it would be under info tab. That checkbox will be available under option section

How to change the appearance of PROC PRINT output in SAS to "notepad" style?

If I run a basic proc print in SAS, I get an output that looks something like this:
Is there a way to (easily) change the appearance of this to look something like this (taken from here):
Any help would be great. Thank you.
Assuming you're in display manager, click Tools -> Options -> Preferences -> Results, then check the box next to "create listing". This will send your output to the listing destination which was the default destination before SAS 9.2. You should be able to save your listing output as text like the example you posted.
If you're in Enterprise Guide, click Tools -> Options -> Results then select the "Text output" box.
IF you are using SAS Studio just click on the top right corner menu icon, then:
Preferences -> Results
And select Monospace in HTML Output Style.

SAS Hotkey permanent binding

I know F9 opens the definitions windows in SAS Enhanced Editor but the changes made here seem to last only for the current session.
Is there a way to configure SAS so that the hotkeys stay effective for any subsequent sessions ?
Check the 'Save settings on exit' option is selected in 'preferences' (Menu: Tools -> Options -> Preferences). This option should be on the 'General' tab. I can't be sure this will do the trick though but I expect so.
Go here to read more about it:- http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#customizing.htm
Typing 'keys' in the command box brings up current assignment of all hotkeys in SAS. You can edit these and save the keys. As you noted, you can only have one copy of SAS up and running to do this (or you have to do it on the version you opened first that locked the .profile).
You can also map the hotkeys to several commands.
For example, I have F8 mapped to do the following:
out;clear;log;clear;wpgm;submit;log;top;
That clears current output (if you still use ods listing), clears the current log, submits contents of program editor, and then positions cursor at top of log window for review.
Cheers,
john

How to install new features or shortcuts?

At home, I am using ColdFusion Builder 1.0
When I have a file open and press ctl+shift+O, it outputs this
<cfoutput></cfoutput> or writeOutput();
When I have a file open and press ctl+shift+a, it outputs this:
<cfabort> or abort:
When I have a file open and press ctl+shift+d, it outputs this:
<cfdump var=""> or writeDump():
At work, I am using ColdFusion Builder 2.0.1. None of "features" described above work. I want to get them to work. What are the features called? Shortcuts? Do I need to download and install them separately? I have searched everywhere to find out how to make this happen and have had no luck. Please advise.
I believe what you are looking for is referred to as "keys" under the preferences in ColdFusion Builder. Click on the "Window" menu, then click on "Preferences". This opens a new Preferences window. In the left side navigation expand "General" and click on "Keys". On the right side you will see a list of all the predefined keyboard short-cuts (that is my terminology for it).
There is also another "Keys" option in the preferences under "ColdFusion", and then "Profiles". This is a shorter list than the other.
Also on the right side of that preferences window is a filter box. If you type in that box it will search the string for you. So, for example, you can type "cfabort" in that box and it will show you the entry for that: Ctrl+T A.
For what it's worth, your shortcuts did not work for me either in ColdFusion Builder 2. I did some searching and found the following ColdFusion Builder 2 documentation page mentioning that some keyboard shortcuts were changed from ColdFusion Builder 1. Keyboard shortcut enhancements. The shortcuts that you are asking about have been changed. Now they are:
Ctrl+T O for <cfoutput>
Ctrl+T A for <cfabort>
Ctrl+T D for <cfdump>
And if you just type Ctrl+T and then wait a few seconds a menu will be displayed with the available options to pick from.

XFDF pdf opening in same window in IE

I'm working on a project that collects data from the project then displays it using xfdf to populate a .pdf file. Now when I use Chrome or Firefox it opens in a new tab which is exactly what I want, but some of my clients will be using IE, which opens it in the same window and causes some confusion. What area of the code should I be looking at in order to tackle and solve this problem?
I can show code examples, just let me know what I need to show.
Thanks,
Steve
Edit: When I click 'Print Application' button, it asks me to save or open the file. When they click open, it opens in the same tab, I want it to appear in a new tab.
In my experience, the best way to accomplish this is to alter your template linking to the PDF. For example:
Clicky!
This should work in all browsers.