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
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.
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 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.