BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
_Hopper
Quartz | Level 8

I created a dataset, but the system says it is locked. When I use the LOCK statement it says it is not locked by me and cannot be unlocked.

 

ERROR: You cannot open WORK.TESTX.DATA for output access with member-level control because WORK.TESTX.DATA is in use by you in
resource environment IOM ROOT COMP ENV.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

40 ;


41 run;
42
43 LOCK work.testx CLEAR ;
ERROR: WORK.TESTX.DATA is not locked by you.
44

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

You probably have the file open in some other window.  Are you using Enterprise Guide? Or SAS/Studio?  I think they use IOM to connect to SAS so that might be why that IOM appears in the name of who has it open.

View solution in original post

1 REPLY 1
Tom
Super User Tom
Super User

You probably have the file open in some other window.  Are you using Enterprise Guide? Or SAS/Studio?  I think they use IOM to connect to SAS so that might be why that IOM appears in the name of who has it open.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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