BookmarkSubscribeRSS Feed
Pankaj_23
Calcite | Level 5

Dear All,

SAS programming logic is correct.

Some time SAS program is executed correctlly, but after some time execute SAS program, I got error messages mension below:

1). ERROR: A Lock is not available for data sets. NOTE: The SAS system stopped processing this step becuase errors.  

2). ERROR: An I/O Error has occured on file.

Wrong data processing becuase of above error messages.

Please anyone help me urgently.

Thanks in Adavance.

Best Regards,

Pankaj Bhangale

2 REPLIES 2
art297
Opal | Level 21

You didn't provide enough specifics regarding the problem, but the following may be relevant: http://support.sas.com/kb/9/807.html

sas_Forum
Calcite | Level 5

This is a ERROR when the dataset is opened by another user or if your are running any query and if any another query is trigger by another person on the same dataset you may get this error,wait for some time and retrigger your code...

Try this

***unlock SAS data;

lock  work.Temp  clear;

lock <libname.sasdataset> clear

(or)

If you are running by lsf you will get one number like 7233 lock held by processer if you kill your job also some times the child will be execute in the back end ,if you are running like this check this by the number and make sure it is not harming other flow in your project...

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 947 views
  • 0 likes
  • 3 in conversation