Thanks Jon and David,
That worked.
…and thanks for the explanation below. I wasn’t totally clear about how naming the dataset affected the open/close behaviour you described previously, but get it now. …something that’s obviously changed from the time I was using earlier SPSS versions many years ago when it was near impossible to work with multiple data sets at once.
Best,
Jeff
From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Jon Peck
Sent: Friday, 11 January 2019 12:34 AM
To: [hidden email]
Subject: Re: Closing dataset if open...
oms select warnings/destination viewer=no.
will also block this error message.
Note, however, that the dataset behavior is different depending on whether you are closing the active dataset or another one. Closing the active dataset removes the dataset name, but the dataset is still present as unnamed and is active. It will actually close if another dataset is activated. Closing a dataset that is not active causes it to close immediately.
SET ERRORS OFF RESULTS OFF.
Will suppress ALL output ;-)
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD