Proc datasets issue?

Accepted Solution Solved
Reply
Contributor
Posts: 72
Accepted Solution

Proc datasets issue?

When i run the below Proc datasets code to age my dataset name from new to old, I am getting warning message in the log. I would like a work around help to fix this issue so that I can avoid this warning being written to the log. I understand the warning is written for the reason there is no existence of OLD dataset on the first run. Please help

data new;

set sashelp.class;

run;

proc datasets library=work;

age new old;

run;

WARNING: The file WORK.OLD (memtype=data) does not exist. Deletion was not done.


Accepted Solutions
Solution
‎08-23-2015 02:19 PM
Super User
Posts: 5,260

Re: Proc datasets issue?

NOWARN?

Data never sleeps

View solution in original post


All Replies
Solution
‎08-23-2015 02:19 PM
Super User
Posts: 5,260

Re: Proc datasets issue?

NOWARN?

Data never sleeps
Contributor
Posts: 72

Re: Proc datasets issue?

Thanks @Linus, that worked. Cheers!

Respected Advisor
Posts: 3,900

Re: Proc datasets issue?

Then could you please mark Linus' answer as "correct" which will mark this question as "answered"? Thanks.

Contributor
Posts: 72

Re: Proc datasets issue?

Oh I am extremely Sorry, I missed. I sincerely apologise that I forgot to do that. Please do accept my apology and don;t get me wrong.It's done now.

Respected Advisor
Posts: 3,900

Re: Proc datasets issue?

No worries! All good.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 294 views
  • 0 likes
  • 3 in conversation