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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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