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

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.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 918 views
  • 0 likes
  • 2 in conversation