GET
FILE='H:\proyecto2\censoagp\337_IVCENAGRO_REC01.sav' /KEEP=TIPO_REC P001 P002 P003 P007x P008 NPRIN WREGION LONG_DECI LAT_DECI P016 P017 P018 WPISO WREDHI WP112 WP111 WP114 WP109 WALTITUD WP115 P019 P019_01 P020_01 P022 P022_01 RESULTADO WSUP01 WSUP02 WSUP02a WSUP08 save translate OUTFILE='H:\proyecto2\censoagp\337_IVCENAGRO_REC01.DTA'. GET FILE='H:\proyecto2\censoagp\338_IVCENAGRO_REC01.sav' /KEEP=TIPO_REC P001 P002 P003 P007x P008 NPRIN WREGION LONG_DECI LAT_DECI P016 P017 P018 WPISO WREDHI WP112 WP111 WP114 WP109 WALTITUD WP115 P019 P019_01 P020_01 P022 P022_01 RESULTADO WSUP01 WSUP02 WSUP02a WSUP08 save translate OUTFILE='H:\proyecto2\censoagp\338_IVCENAGRO_REC01.DTA'. GET FILE='H:\proyecto2\censoagp\339_IVCENAGRO_REC01.sav' /KEEP=TIPO_REC P001 P002 P003 P007x P008 NPRIN WREGION LONG_DECI LAT_DECI P016 P017 P018 WPISO WREDHI WP112 WP111 WP114 WP109 WALTITUD WP115 P019 P019_01 P020_01 P022 P022_01 RESULTADO WSUP01 WSUP02 WSUP02a WSUP08 save translate OUTFILE='H:\proyecto2\censoagp\339_IVCENAGRO_REC01.DTA'. GET FILE='H:\proyecto2\censoagp\340_IVCENAGRO_REC01.sav' /KEEP=TIPO_REC P001 P002 P003 P007x P008 NPRIN WREGION LONG_DECI LAT_DECI P016 P017 P018 WPISO WREDHI WP112 WP111 WP114 WP109 WALTITUD WP115 P019 P019_01 P020_01 P022 P022_01 RESULTADO WSUP01 WSUP02 WSUP02a WSUP08 save translate OUTFILE='H:\proyecto2\censoagp\340_IVCENAGRO_REC01.DTA'. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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 |
perhaps a few words of explanation.
===================== 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 |
How to loop in spss using "save translate"
-- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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 |
Untested: DEFINE !dostuff(start = !CHAREND('/') /end = !CHAREND('/') /vars = !CMDEND) !DO !i = !start !TO !end !LET !savName = !CONCAT("H:\proyecto2\censoagp\",!i,"_IVCENAGRO_REC01.sav") !LET !dtaName = !CONCAT("H:\proyecto2\censoagp\",!i,"_IVCENAGRO_REC01.dta") GET FILE=!QUOTE(!savName) /KEEP= !vars. SAVE TRANSLATE OUTFILE=!QUOTE(!dtaName). !DOEND !ENDDEFINE. !dostuff start = 337 / end = 340 /vars = TIPO_REC P001 P002 P003 P007x P008 NPRIN WREGION LONG_DECI LAT_DECI P016 P017 P018 WPISO WREDHI WP112 WP111 WP114 WP109 WALTITUD WP115 P019 P019_01 P020_01 P022 P022_01 RESULTADO WSUP01 WSUP02 WSUP02a WSUP08. Mario Giesel Munich, Germany
Am Donnerstag, 25. Juli 2019, 07:40:19 MESZ hat atalaveracuya <[hidden email]> Folgendes geschrieben:
How to loop in spss using "save translate" -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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 |
Funciona muy bien!!
Muchas gracias Mario. Saludos desde Lima, Perú. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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 |
Administrator
|
¡Bien hecho Mario! Olé, Olé, Olé, Olé!
Andrés Talavera Cuya wrote > Funciona muy bien!! > Muchas gracias Mario. > Saludos desde Lima, Perú. > > > > -- > Sent from: http://spssx-discussion.1045642.n5.nabble.com/ > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@.UGA > (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 ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
Thanks, guys :-) Mario Giesel Munich, Germany
Am Montag, 29. Juli 2019, 19:51:44 MESZ hat Bruce Weaver <[hidden email]> Folgendes geschrieben:
¡Bien hecho Mario! Olé, Olé, Olé, Olé! Andrés Talavera Cuya wrote > Funciona muy bien!! > Muchas gracias Mario. > Saludos desde Lima, Perú. > > > > -- > Sent from: http://spssx-discussion.1045642.n5.nabble.com/ > > ===================== > 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 ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== 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 |