ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

Reply
Contributor
Posts: 56

ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

Hi All,

while running the macro i am getting below error

ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set TEMP.WT_ADULTS was only partially opened and will not be saved.

NOTE: PROCEDURE SORT used (Total process time):

      real time           0.06 seconds

      cpu time            0.00 seconds

Could you please help me on this for how to resolve this.

thanks

Shiva

Super Contributor
Posts: 282

Re: ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

Posted in reply to shivakrishna

Hi,

Are you the only person using the data set?

Are you sure you don't already have the data set open?

If you post your macro code and the log that will probably help.

Regards,

Amir.

Contributor
Posts: 56

Re: ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

yes i only using the dataset and i did one change for mapped the work location to another path i given.

Shiva

Super Contributor
Posts: 282

Re: ERROR: A lock is not available for TEMP.SAMPLE_ADULTS.DATA.

Posted in reply to shivakrishna

Hi,

Have you tried to exit SAS and start it again to see if that works?

I have found the following which sounds similar:

36803 - "ERROR: A lock is not available for dsname.DATA, lock held by another process" might be rece...

If you are still getting the same error then post your macro code and the log, as that will probably help.

Regards,

Amir.

Ask a Question
Discussion stats
  • 3 replies
  • 4425 views
  • 0 likes
  • 2 in conversation