Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concurrent connections to SAS Datasets

Status
Not open for further replies.

evaaseow

Programmer
Jan 25, 2007
29
CA
I need to know if it is possible to share datasets between users. I know that SAS/SHARE exists, but can't find much information regarding it. Can SAS/SHARE run on a regular desktop with Windows XP or does it require a server?

Is there any other method of sharing a dataset besides SAS/SHARE?
 
Share runs on a server or designated workstation. (Meaning you could run Share on a workstation, but why would you)
Perhaps you can supply more info on what are you trying to accomplish. Do you want to 'share' a dataset so that two people could read the data at the same time? For this you don't need share. A simple network setup should work. If you need to have two or more people write to a dataset then you need SAS\SHARE. As that engine manages the data access to the SAS dataset. You can find a lot of info on SAS\SHARE at the sas web site

Klaz
 
I need concurrent users to be allowed to write to a dataset at the same time.

Here is the setup(not my idea).

One PC that has 2 partitions so 2 people remote into their respective partition and use SAS from there and access the same libraries. If I were to get SAS/SHARE would I install it on both SAS applications?
 
I guess SAS\SHARE would be a solution in your case. The way SAS\SHARE works is you install the software on a machine (any machine) and set it up so that the SAS library that your users will need found via the SAS\SHARE application.

Here is an example:
Say you have a SAS library on a drive c: (in windows). Your programs would use the ip address of the sas server in the libname statement.

Access to the data objects would be handled by the SAS\SHARE server.

So in short when two programs try to grab the same dataset for 'writing' the SAS\SHARE server will allow one process to grab the data object and force the second one to wait.

Does this answer your question?
 
You mention

"Your programs would use the ip address of the sas server in the libname statement."

Everything is located on the same machine, datasets, sas application, sas/share.

Is this possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top