overwrite command in append spool

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

adarshad
Posts: 97
Joined: Wed Sep 05, 2018 10:32 am

overwrite command in append spool

Postby adarshad » Tue May 04, 2021 9:53 am

I think the code should overwrite the object in spool but it errs


Code: Select all

A_COINT1 already exists in the destination spool in "DO_
 SPOOLCA.APPEND(NAME=A_COINT1, MODE=OVERWRITE)
 A_COINT1".


can somebody suggest anything?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12913
Joined: Tue Sep 16, 2008 5:38 pm

Re: overwrite command in append spool

Postby EViews Gareth » Tue May 04, 2021 10:00 am

Code: Select all

wfcreate u 100
spool spoolca
series y=nrnd
spoolca.append(name=A_COINT1) y.sheet
spoolca.append(name=A_COINT1, mode=overwrite) y.sheet


Seems to work just fine.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: Google [Bot] and 14 guests