|
This was recently discussed on the list
(Mon, 14 Jan 2008 09:11:28) Here is the link to the archived message. http://listserv.uga.edu/cgi-bin/wa?A2=ind0801&L=spssx-l&P=R11296 If you have trouble, search for xsave where the author's address is [hidden email] Here's the link to search the list http://listserv.uga.edu/cgi-bin/wa?S1=spssx-l Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Nagaraju Thogiti Sent: Tuesday, February 26, 2008 11:01 AM To: [hidden email] Subject: [SPSSX-L] Saving a SPSS dataset into multiple datasets at once based on a filter or a variable Hi, I need to divide a large dataset into numerous segments based on a filter or variable and fit models separately. At present I make multiple copies of the original dataset and use "select cases" in the "edit" menu to delete unwanted cases. My question is that if SPSS has a mechanism to export or split the file and save into multiple segments based on the filter. Thank you, Nagu ======= 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 PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. ===================== 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 |
|
There is a more automated method on Raynald's website which I have used
in the past. The purpose of his syntax is to create 'n' different files where each file is based on a different value of a variable. For example, if your file contained data from 4 different sites (A, B, C, and D), it would produce a separate file for each site. It has the advantage that you don't need to know the number of possible values of 'n' to use it. It can be found at #21 at http://www.spsstools.net/SampleSyntax.htm#WorkingWithManyFiles. HTH Pat -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Melissa Ives Sent: February 26, 2008 12:50 PM To: [hidden email] Subject: Re: Saving a SPSS dataset into multiple datasets at once based on a filter or a variable This was recently discussed on the list (Mon, 14 Jan 2008 09:11:28) Here is the link to the archived message. http://listserv.uga.edu/cgi-bin/wa?A2=ind0801&L=spssx-l&P=R11296 If you have trouble, search for xsave where the author's address is [hidden email] Here's the link to search the list http://listserv.uga.edu/cgi-bin/wa?S1=spssx-l Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Nagaraju Thogiti Sent: Tuesday, February 26, 2008 11:01 AM To: [hidden email] Subject: [SPSSX-L] Saving a SPSS dataset into multiple datasets at once based on a filter or a variable Hi, I need to divide a large dataset into numerous segments based on a filter or variable and fit models separately. At present I make multiple copies of the original dataset and use "select cases" in the "edit" menu to delete unwanted cases. My question is that if SPSS has a mechanism to export or split the file and save into multiple segments based on the filter. Thank you, Nagu ======= 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 PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. ===================== 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 |
|
In reply to this post by Melissa Ives
It worked like a charm. Thank you Melissa and thank you other list
members. Thank you, Nagu -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Melissa Ives Sent: Tuesday, February 26, 2008 9:50 AM To: [hidden email] Subject: Re: Saving a SPSS dataset into multiple datasets at once based on a filter or a variable This was recently discussed on the list (Mon, 14 Jan 2008 09:11:28) Here is the link to the archived message. http://listserv.uga.edu/cgi-bin/wa?A2=ind0801&L=spssx-l&P=R11296 If you have trouble, search for xsave where the author's address is [hidden email] Here's the link to search the list http://listserv.uga.edu/cgi-bin/wa?S1=spssx-l Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Nagaraju Thogiti Sent: Tuesday, February 26, 2008 11:01 AM To: [hidden email] Subject: [SPSSX-L] Saving a SPSS dataset into multiple datasets at once based on a filter or a variable Hi, I need to divide a large dataset into numerous segments based on a filter or variable and fit models separately. At present I make multiple copies of the original dataset and use "select cases" in the "edit" menu to delete unwanted cases. My question is that if SPSS has a mechanism to export or split the file and save into multiple segments based on the filter. Thank you, Nagu ======= 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 PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. ===================== 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 |
| Free forum by Nabble | Edit this page |
