Page 1 of 1

Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Thu Nov 27, 2014 4:21 am
by fioramanti
Hi,
I'm having problem in using @keep, @keepmap, @drop and @dropmap (what I really need is @keep, but I was trying also with the other options).

In both commands:

wfopen nomefile.wf1 @keep serieslist
pageload(page=nomepage) "mypath\nomefile.rat" @keep serieslist

the @keep option (but also the others) does not work (Eviews 8.0) and all the series are loaded.
Any idea why?

Marco

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Thu Nov 27, 2014 8:03 am
by EViews Gareth
The @keep argument does not apply to workfiles. When you open a workfile, all objects are opened.

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Thu Nov 27, 2014 8:30 am
by fioramanti
ok, but it doesn't work with wfsave (clearly indicated in the guide) and in pageload either.

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Thu Nov 27, 2014 8:51 am
by EViews Gareth
Correct

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Mon Apr 13, 2015 5:11 am
by misscats
Hi Gareth

Do you have any alternative suggestion if I want to have something like:

wfsave normal.wf1 @keep a*

and it only saves any series starting with a from the current workfile?

Thanks,
misscats

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Mon Apr 13, 2015 8:15 am
by EViews Gareth
Build a string containing all the objects you want to save using @wlookup, then use that string in the wfsave @keep part.

Re: Problem with @keep (@keepmap) @drop (@dropmap)

Posted: Tue Apr 14, 2015 10:04 am
by misscats
Great. Many thanks.