LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 19 Aug 2010 07:33:51 -0600
Reply-To:     Jon K Peck <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Jon K Peck <>
Subject:      Re: Can Python render a list of all open datasets?
Comments: To: Ruben van den Berg <>
In-Reply-To:  <SNT110-W1387A52AEB8C07B0CAE64AFA9E0@phx.gbl>
Content-Type: multipart/alternative;

Jon Peck SPSS, an IBM Company 312-651-3435

From: Ruben van den Berg <> To: SPSSX-L@LISTSERV.UGA.EDU Date: 08/19/2010 12:01 AM Subject: [SPSSX-L] Can Python render a list of all open datasets? Sent by: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>

Dear all,

I know there's spssaux.GetActiveDatasetName() but can Python also render a list of ALL open datasets?

begin program. import SpssClient SpssClient.StartClient() ddlist = SpssClient.GetDataDocuments() for i in range(ddlist.Size()): dd = ddlist.GetItemAt(i) ddname = dd.GetDatasetName() ddpath = dd.GetDocumentPath() print ddname, ddpath SpssClient.StopClient() end program.


Ruben van den Berg Consultant Models & Methods TNS NIPO Email: Mobiel: +31 6 24641435 Telefoon: +31 20 522 5738 Internet:


Back to: Top of message | Previous page | Main SPSSX-L page