BookmarkSubscribeRSS Feed
garag
Calcite | Level 5

Hi,

I'm new is SAS.

My SAS is running SAS on a UNIX machine, I telnet to that sever from my winodws pc.

When I start SAS, on my pc appear some different winodws, Program Editor, Toolbox, Log, etc....

I would close automatically Result and Output windows.

I've tried to:

- close these windows (Result and Output);

- run 'wsave a' command;

- close SAS;

- reopen SAS;

but the windows still reappear.

Two question.

1) I found a command to close Results window:

dm 'odsresults; cancel';

but I didn't find a command to close Output window. To there is a command to close also Output window?

2) If a command to close Output window exist, how I can run automatically commands to close automaticcaly both windows every time I run SAS?

Many thanks

1 REPLY 1
Quentin
Super User

Hi,

Ask another SAS person in your group where your config file is saved.  I think on unix there is usuall a config file for the installation, and you can have a personal config file (in your home dir maybe)?

I think (not sure) to turn off the the turn off the results window you can add this line to the config file:

  -NOEXPLORER

There is probably a way to close the output window by using the config file too, but I don't know it.  You can try adding the line below to your program (or to an autoexec.sas file, which will run every time sas starts):

dm "output; winclose;";

Not sure why you would want to close the output window and the results window.  If you just wanted to edit code and submit it (in emacs or vi or whatever), you are free to do that, without having to use SAS's interactive programming environement.

For more on config and autoexec files, search lexjansen.com for either term.  Will return lots of papers written by SAS users.

Good luck.  Welcome to SAS.

--Q.


BASUG is hosting free webinars Next up: Jane Eslinger presenting PROC REPORT and the ODS EXCEL destination on Mar 27 at noon ET. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2285 views
  • 0 likes
  • 2 in conversation