DATA Step, Macro, Functions and more

Start 2nd SAS Session with same SASV9.cfg

Reply
Contributor
Posts: 61

Start 2nd SAS Session with same SASV9.cfg

I have the first session up, I want to open a second one so I can run two programs at once, etc.  How can I accomplish this.

As an aside, is it possible to hide the "variable name change" warning in 9.3 with proc import?

PROC Star
Posts: 7,468

Re: Start 2nd SAS Session with same SASV9.cfg

: Will it work as desired if you include the location of the cfg file in the properties that are applied when you call SAS?

Take a look at: https://communities.sas.com/message/111072#111072

Regular Contributor
Posts: 227

Re: Start 2nd SAS Session with same SASV9.cfg

just click on your icon again and you'll open another session

Here are the notes and warnings in the 2nd session:

NOTE: All registry changes will be lost at the end of the session.

WARNING: Unable to copy SASUSER registry to WORK registry. Because of this,

WARNING: you will not see registry customizations during this session.

NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.

NOTE: All profile changes will be lost at the end of the session.

NOTE: This SAS session is using a registry in WORK.  All changes will be lost at the end of this

NOTE: session.

Why do you want to do this?

Ron Fehd Once.is.Enough maven

PROC Star
Posts: 7,468

Re: Start 2nd SAS Session with same SASV9.cfg

Posted in reply to Ron_Fehd_macro_maven

Ron: I often have multiple sessions running, especially when I have to process a lot of data, and can cut a 20 hour job down to 1 or 2 hours real time.

I like to access my SAS profile and defaults for each job thus, in the icons properties I include the cfg file location along with a -rsasuser

That will provide the defaults, eliminate the warning, and only leave the notes and fact that profile changes won't be saved.

Contributor
Posts: 61

Re: Start 2nd SAS Session with same SASV9.cfg

So far, I've got it working by adding -rsasuser to the sasv9.cfg.  Not sure how to add the cfg location to the icon properties.

PROC Star
Posts: 7,468

Re: Start 2nd SAS Session with same SASV9.cfg

: I usually include both in the target of the SAS icon's properties, but you could have the -rsasuser in the cfg file.

My system has the following target:

"D:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -CONFIG "D:\Program Files\SASHome\SASFoundation\9.3\nls\en\sasv9.cfg" -rsasuser

Ask a Question
Discussion stats
  • 5 replies
  • 1049 views
  • 1 like
  • 3 in conversation