Date: Thu, 1 Oct 1998 11:04:05 +0200
Reply-To: Anneke de Win <MIS@EQUINOX.NL>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Anneke de Win <MIS@EQUINOX.NL>
Subject: Re: data table - member lock - scl
Hello Arne,
>What I want to do is to have a SAS dataset (work.visdat) open as a Data
>Table, while it should be possible to update, and to do computations on
>this dataset.
>
>In scl-code I m trying to update the datasett through a data step. I get
>the following error message printed in the log:
>
>ERROR: MEMBER lock is not available for WORK.VISTAB.DATA, lock held by
>another user.
Generally, you can't open a dataset twice to edit is. So if your dataset is
shown in the data table object, it can not be manupulated in a data step.
Usually I only use a data table object to show the data (data mode 'browse')
and often it's a temporary copy that is show with the _SET_DATASET_ method.
If you want to manipulate the dataset in a data step, you have to put an
empty or no data set in the data table, do the processing and than put the
dataset back in the data table object.
Hope this helps, good luck
Anneke de Win.
|