Posted by
Bruce Weaver on
URL: http://spssx-discussion.165.s1.nabble.com/SPSS-28-Accumulating-phantom-datasets-in-Windows-taskbar-popup-tp5740892p5740911.html
I've had a bit of a breakthrough. In the original version of TEST1.sps, I did not include a DATASET NAME command after DATA LIST. It eventually occurred to my "tortoise mind" (see "Hare Brain, Tortoise Mind" by Guy Claxton) that explicitly naming the dataset might change things, so I added the DATASET NAME command you see below. This does not completely eliminate the problem, but it limits it in a way that I can live with: I see only ONE phantom dataset no matter how many times I execute the code. When I run TEST3.sps immediately after launching SPSS, the phantom dataset is named Untitled2[Test], by the way.
* TEST1.sps, saved to C:\Temp folder.
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.
***********************************.
* NEW: Explicitly name the dataset.
DATASET NAME Test.
***********************************.
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.
* ------------------------------------------------------------------------.
* 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".
* ------------------------------------------------------------------------.
--
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/).