DATA Step, Macro, Functions and more

how to delete the macro programm

Reply
Not applicable
Posts: 1

how to delete the macro programm

o

please ...i want to know the ways of deleting macro proagramms

Frequent Contributor
Posts: 120

Re: how to delete the macro programm

Posted in reply to artreporter

Hi,

write the macro name in this statement and the macro would be deleted.

For example : To delete the RESETP macro, Write :

%SYSMACDELETE RESETP;

Super Contributor
Posts: 334

Re: how to delete the macro programm

Posted in reply to artreporter

Just for information purposes, the %sysmacdelete is a 9.3 function so if you are using earlier versions it will not be present. Plus it only works on the work directory. If the mstored option was used with sasmstore to store the macro permanently then I dont think this method will work.

Reference:

Transition to SAS 9.3: Deleting Macros in SAS 9.3

EJ

Super User
Posts: 10,787

Re: how to delete the macro programm

Posted in reply to artreporter

or try

proc catalog

Ask a Question
Discussion stats
  • 3 replies
  • 231 views
  • 1 like
  • 4 in conversation