Re: SPSS 28: Accumulating "phantom" datasets in Windows taskbar popup

Posted by Bruce Weaver on
URL: http://spssx-discussion.165.s1.nabble.com/SPSS-28-Accumulating-phantom-datasets-in-Windows-taskbar-popup-tp5740892p5740906.html

Hi Jon.  I was about to confirm that it is a DATASET CLOSE ALL problem.  But then I did some further testing, and now I am even more perplexed than before.  I have pasted below the code that I have stored in two files called TEST1.sps and TEST3.sps.  (There was a TEST2.sps too, but it is no longer needed.)  

To summarize the results, I can Run > All with TEST1.sps as many times consecutively as I like, and I do not see any phantom datasets in the Windows taskbar popup.  But if I execute TEST3.sps once, I see 4 phantom datasets and 1 real dataset.  And as you can see, all TEST3.sps does is call TEST1.sps 5 times via INSERT FILE commands.  This is completely bizarre, if you ask me!  

Oh, and not to forget the original point of the tests, notice that there are no DATASET commands of any kind in either file.  



* TEST1.sps.
DATA LIST free / Case (F1) Note (A45).
BEGIN DATA
1 "Computed using SPSS ARTAN function"
2 "Copied from http://www.piday.org/million/"
END DATA.

DO IF Case EQ 1.
- COMPUTE Pi = 4*ARTAN(1).
ELSE.
- COMPUTE Pi = 3.141592653589793.
END IF.
FORMATS Pi (F20.15).
LIST Pi Note.

* If I launch SPSS 28, open this syntax file, and
* Run > All multiple times consecutively, I see
* only 3 windows in the taskbar popup:
* 1) This syntax window, 2) an output window, and 3) the data window.

* In TEST2, I'll simply make two copies of the basic code
* so that two DATA LIST commands appear in the same syntax file.
* ------------------------------------------------------------------------.

* TEST3.sps.
INSERT FILE="C:\Temp\TEST1.sps".
INSERT FILE="C:\Temp\TEST1.sps".
INSERT FILE="C:\Temp\TEST1.sps".
INSERT FILE="C:\Temp\TEST1.sps".
INSERT FILE="C:\Temp\TEST1.sps".

* RESULT:  I see 4 phantom datasets and 1 real one.
* ------------------------------------------------------------------------.


PS- If I replace the DATA LIST command in TEST1.sps with a GET FILE command, I get the same results.

 
jkpeck wrote
It seems to be the DATASET CLOSE ALL problem.
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).