|
Dear list members,
I need help with SPSS macro for some variables. I need variable izdevums_1999_01 change to izdevums_1 and numbers counting forward for next month as example next variable izdevums_2004_05 change to izdevums_65. ===================== 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 |
|
Juris:
Do you need this in a macro? Do you need to update each month? (each time you run the macro?) The renaming can be done through regular code, that can be included in a macro: RENAME VARIABLES (izdevums_1999_01 = izdevums_1) (izdevums_1999_02 = izdevums_2) . . . (izdevums_2004_01 = izdevums_65) . --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Juris Breidaks Sent: Tuesday, January 13, 2009 9:19 AM To: [hidden email] Subject: Change name for one variable! Dear list members, I need help with SPSS macro for some variables. I need variable izdevums_1999_01 change to izdevums_1 and numbers counting forward for next month as example next variable izdevums_2004_05 change to izdevums_65. ===================== 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 |
|
I need macro that calculate "izdevums_1999_02" is equal with 65.
Yes, I updated each month and each time I run macro. "Marks, Jim" <[hidden email]> Sent by: "SPSSX(r) Discussion" <[hidden email]> 13.01.2009 17:33 Please respond to "Marks, Jim" <[hidden email]> To [hidden email] cc Subject Re: Change name for one variable! Juris: Do you need this in a macro? Do you need to update each month? (each time you run the macro?) The renaming can be done through regular code, that can be included in a macro: RENAME VARIABLES (izdevums_1999_01 = izdevums_1) (izdevums_1999_02 = izdevums_2) . . . (izdevums_2004_01 = izdevums_65) . --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Juris Breidaks Sent: Tuesday, January 13, 2009 9:19 AM To: [hidden email] Subject: Change name for one variable! Dear list members, I need help with SPSS macro for some variables. I need variable izdevums_1999_01 change to izdevums_1 and numbers counting forward for next month as example next variable izdevums_2004_05 change to izdevums_65. ===================== 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 |
| Free forum by Nabble | Edit this page |
