10-28-2013 12:59 PM
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.
10-28-2013 01:47 PM
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.
10-28-2013 02:07 PM
Have you tried to exit SAS and start it again to see if that works?
I have found the following which sounds similar:
If you are still getting the same error then post your macro code and the log, as that will probably help.