|
Dear friends of list
I have a problem that is to sort variables as the end of your name. For example, I want to join in the base variables that finish your names similarly. For example: In the base: V21.1 V21.2 V21.3 V22.1 V22.2 V22.3 V23.1 V23.2 V23.3 I want to save outfile base in this order: v21.1 V22.1 V23.1 V21.2 V22.2 V23.2 V21.3 V22.3 V23.3 Exists way to automate it? Carlos Renato Statistician ===================== 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 |
|
Sure--
Save outfile='mypath\myfile.sav'/keep= v21.1 V22.1 V23.1 V21.2 V22.2 V23.2 V21.3 V22.3 V23.3. Melissa -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Carlos Renato Sent: Thursday, September 11, 2008 6:15 AM To: [hidden email] Subject: [SPSSX-L] Comparing variables names to define order Dear friends of list I have a problem that is to sort variables as the end of your name. For example, I want to join in the base variables that finish your names similarly. For example: In the base: V21.1 V21.2 V21.3 V22.1 V22.2 V22.3 V23.1 V23.2 V23.3 I want to save outfile base in this order: v21.1 V22.1 V23.1 V21.2 V22.2 V23.2 V21.3 V22.3 V23.3 Exists way to automate it? Carlos Renato Statistician ===================== 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 |
| Free forum by Nabble | Edit this page |
