Chapter Contents

Previous

Next
SAS Companion for the OS/2 Environment

Accessing SAS Files from Multiple SAS Sessions

If you are running multiple SAS sessions, whether on a single machine or across a network, you can have multiple access to the same SAS file when you are reading from it.

If you have SAS/SHARE installed, the VIEWTABLE window and the FSEDIT or FSVIEW windows allow multiple users to edit the same SAS file. When you edit a data set by using the VIEWTABLE window, you can set the editing mode to either Row Level Edit Access or Table Level Edit Access. When you select Table Level Edit Access, only you have access to the data set. Row Level Edit access allows multiple users to access the same SAS file, but only one user can access and make changes to a single record (observation) at a time.

To open a data set in the VIEWTABLE window, from the SAS Explorer window:

  1. double-click on the Libraries icon

  2. double-click on the library that contains the data set

  3. double-click on the data set.

To edit the data set, select

Edit
[arrow]
Edit Mode
and then select either Table Level Edit or Row Level Edit.

When you edit a data set by using FSEDIT or FSVIEW, you can set the update mode to either MEMBER or RECORD. When you select MEMBER mode, only you have access to the data set. When you select RECORD mode, multiple users can write to the same SAS file but only one user can update a single record (observation) at a time.

To open a data set by using FSEDIT or FSVIEW:

  1. type FSEDIT or FSVIEW in the command bar

  2. double-click on the library name in the Select a Member dialog box

  3. double-click on the data set name.

To edit the data set, select

Edit
[arrow]
Update...
and then select either the MEMBER or RECORD radio button.

The RSASUSER system option, described in RSASUSER, allows you to share the SASUSER data library. If multiple users need update access to common SAS data sets, use SAS/SHARE software.

For details about rules for multiple user access to the same data set and its members, see the SAS online Help and SAS/SHARE User's Guide.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.