|
My apologies to the list. I need to study this situation more before
asking questions.
Thanks, Jan -------- Original Message --------
Hi, **Additional problem: my new file does not contain the variable N_Break. (I got the code from http://www.ats.ucla.edu/stat/spss/faq/nummiss_spss.htm) Thanks. What I want: a new file with just the variables listed in the code below that is located where I want it, and opens at the end of the program so that I can see the results. What I tried: I used this syntax but the outfile was saved in a location I don't want. AGGREGATE /OUTFILE='AGGRTest.SAV' /BREAK= EmpStat1 MaritStat1 HousStat1 RaceEth11 RaceEth21 EdLevel1 Rx_source1 Trans_yn1 /N_BREAK=N. I tried changing the default location using edit->options->specified folder-> and change the location for both data files and other files but that didn't work so I added the following line Save OUTFILE="C:\Jan\PhD\PhD_analysis\VStudy1DT/AGGRTest.SAV". Now it saves AGGRTest.SAV over my original datafile (with all of my 150 original variables) and adds the variables listed above to the end of the file. It does open automatically when I run the program. Thanks, Jan===================== 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 |
|
It's a bit confusing, but folder settings in Edit/Options have no effect on file specifications in command syntax. In command syntax, you should specify an explicit location where you want files to be saved. You can do this at the individual command level or globally with the CD command. And if the file name you specify already exists in the specified location, then the original file will be overwritten. -----"SPSSX(r) Discussion" [hidden email] wrote: -----To: [hidden email] ====================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 |
