|
Hello Graham, It seems that you've encountered a bug in Statistics 17.0 that has been fixed in the 17.0.1 patch. An extra period was inserted at the end of the last line of selected commands if there were spaces after the command terminator (period) in that command. The work-around was to make sure that the there were no spaces trailing the end of the last command, but installing the patch should resolve this. Patches are available up to 17.0.3 at http:\\support.spss.com. Click the Statistics link under Main Menu and then the Patches link that appears. I've pasted a related resolution below. As noted there, the extra period triggered different error messages when added to different commands. David Matheson Statistical Support SPSS, an IBM company ********************
----------
I got some really strange behavior with SPSS 17 for windows XP trying to run a simple do if command. All I was trying to do is this: do if binaryscenerioID="1". recode Isrscenerios (5=1) (4=2) (3=3) (2=4) (1=5) into Issagree. end if. When I tried to run this though, when SPSS got to the end if command it put an EXTRA period at the end so that when the syntax displayed in the output window it looked like this: do if binaryscenerioID="1". recode Isrscenerios (5=1) (4=2) (3=3) (2=4) (1=5) into Issagree. end if. . And then....everything got weird... SPSS gave me this error message: " >Warning # 142. Command name: end >LOOP has no effect on this command. >Error # 1. Command name: end >The first word in the line is not recognized as an SPSS Statistics command. >This command not executed. >Warning # 142. Command name: _SLINE >LOOP has no effect on this command." And then EVERY command I put in, freqs, recodes, anything, all just gave me this error message ">Warning # 142. Command name: _SLINE >LOOP has no effect on this command." Of course I wasn't using loops. I tried to do another end if, or end loop command but they all just gave me the same error: ">Warning # 142. Command name: _SLINE >LOOP has no effect on this command." I reopened the dataset and everything was back to normal, and ran the same syntax again, and it did the same thing again. Finally, I tried running "end if" WITHOUT a period, and sure enough, SPSS put one in on it's own and stopped the loop. Then I tried closing the dataset and opening it up again for a third time, but this time everything works fine, and running the same exact syntax produces no errors. I can't duplicate this bug, so I'm not going to worry about it, but has anyone else had this problem? I've had some weird experiences with SPSS doing some really bizzare unstable things in the past (with version 15 mostly),. but I thought we were done with that. -Graham ===================== 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 |
