Page 1 of 1

Delete certain object types

Posted: Tue Feb 17, 2015 12:00 pm
by JhonnyCa
Hello,
I want to delete all alpha objects (but not the series) from my workfile before structuring it into panel data. Since I have more than 5000 different objects (all series and alpha objects beginning with "_") in the workfile, it would be very inconvenient to do that manually. Unfortunately I could not find any options of the delete-function for this specific task. Thank you in advance for any suggestions!
Image

Re: Delete certain object types

Posted: Tue Feb 17, 2015 1:13 pm
by trubador
View/Select By Filter...

Re: Delete certain object types

Posted: Tue Feb 17, 2015 1:59 pm
by EViews Glenn
trubador suggestion is good for interactive deletion.

For command line deletion, the following two lines, put in a program file, should do the trick.

Code: Select all

%a = @wlookup("*", "alpha") delete {%a}

Re: Delete certain object types

Posted: Wed Feb 18, 2015 3:45 am
by JhonnyCa
Thank you very much, it worked perfectly fine!