I ran into a problem running a program on my laptop. After viewing the
output from a program I executed I went back to the syntax editor and saw it had reverted to the default layout. This has happened before. I had to recompose it again with my preferences for such things as font, font size, color of keywords, no line numbers, etc. When I went to run my program again it ran part of it, but stopped at a define statement that has ADD FILES commands. It came back with error messages (one for each record) that said "mismatched variable types on the input files." Luckily, I had backed up the folder with the program today. I loaded the folder on my other pc, my desktop pc, that has SPSSX installed on it and it works like it had been. I then went back to the laptop and deleted the folder and copied it over from my backup. I ran the program again and it still will not run the define statement of add files and comes back with the error message of "mismatched variable types on the input files." What could be happening? It had been running on my laptop, now it won't, but it will run on my desktop. As I mentioned, earlier today I had backed up the folder with all the data, files, and programs. Both pc's have the same backed up folder on them. I'm wondering if SPSSX on my laptop got corrupted somehow because prior to the syntax editor on my laptop reverting back to the default layout, I was having a problem with the screen freezing up and not able to go back to the syntax editor from the output screen. And I couldn't get out of SPSSX. I had to go to the task manager to stop SPSSX. When I launched SPSSX after that, that is when I discovered the syntax editor had reverted back to the default layout. Stan ===================== 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 |
Hi, Stan, difficult to solve without some working example we can use. There might be an issue with an alphanumeric variable if it has different lengths in both files. In this Mario Giesel Munich, Germany
Am Freitag, 5. Oktober 2018, 08:49:45 MESZ hat Stan Gorodenski <[hidden email]> Folgendes geschrieben:
I ran into a problem running a program on my laptop. After viewing the output from a program I executed I went back to the syntax editor and saw it had reverted to the default layout. This has happened before. I had to recompose it again with my preferences for such things as font, font size, color of keywords, no line numbers, etc. When I went to run my program again it ran part of it, but stopped at a define statement that has ADD FILES commands. It came back with error messages (one for each record) that said "mismatched variable types on the input files." Luckily, I had backed up the folder with the program today. I loaded the folder on my other pc, my desktop pc, that has SPSSX installed on it and it works like it had been. I then went back to the laptop and deleted the folder and copied it over from my backup. I ran the program again and it still will not run the define statement of add files and comes back with the error message of "mismatched variable types on the input files." What could be happening? It had been running on my laptop, now it won't, but it will run on my desktop. As I mentioned, earlier today I had backed up the folder with all the data, files, and programs. Both pc's have the same backed up folder on them. I'm wondering if SPSSX on my laptop got corrupted somehow because prior to the syntax editor on my laptop reverting back to the default layout, I was having a problem with the screen freezing up and not able to go back to the syntax editor from the output screen. And I couldn't get out of SPSSX. I had to go to the task manager to stop SPSSX. When I launched SPSSX after that, that is when I discovered the syntax editor had reverted back to the default layout. Stan ===================== 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 |
Hi Mario,
It seems if it was because alphanumeric variables are of different lengths that is causing the error messages, the same exact program would not run on my other pc, the desktop pc. This morning I tried something different. On my laptop I created another folder and copied the spssx program and all relevant files to it. I changed all the file paths to point to the new folder and ran the program again. It worked. I then went back to the original folder and ran it and it and it bombed out again with the same error messages. I'm confused now what could be happening. The program in the original folder is six subfolder levels down. I do not see how that could be a problem now because this program has worked dozens of times until yesterday. Stan On 10/5/2018 6:02 AM, Mario Giesel wrote: > Hi, Stan, > > difficult to solve without some working example we can use. > There might be an issue with an alphanumeric variable if it has > different lengths in both files. In this case you have to synchronize > the lengths e.g. with ALTER TYPE. > > Mario Giesel > Munich, Germany > > > Am Freitag, 5. Oktober 2018, 08:49:45 MESZ hat Stan Gorodenski > <[hidden email]> Folgendes geschrieben: > > > I ran into a problem running a program on my laptop. After viewing the > output from a program I executed I went back to the syntax editor and > saw it had reverted to the default layout. This has happened before. I > had to recompose it again with my preferences for such things as font, > font size, color of keywords, no line numbers, etc. When I went to run > my program again it ran part of it, but stopped at a define statement > that has ADD FILES commands. It came back with error messages (one for > each record) that said "mismatched variable types on the input files." > Luckily, I had backed up the folder with the program today. I loaded the > folder on my other pc, my desktop pc, that has SPSSX installed on it and > it works like it had been. I then went back to the laptop and deleted > the folder and copied it over from my backup. I ran the program again > and it still will not run the define statement of add files and comes > back with the error message of "mismatched variable types on the input > files." > > What could be happening? It had been running on my laptop, now it won't, > but it will run on my desktop. As I mentioned, earlier today I had > backed up the folder with all the data, files, and programs. Both pc's > have the same backed up folder on them. I'm wondering if SPSSX on my > laptop got corrupted somehow because prior to the syntax editor on my > laptop reverting back to the default layout, I was having a problem with > the screen freezing up and not able to go back to the syntax editor from > the output screen. And I couldn't get out of SPSSX. I had to go to the > task manager to stop SPSSX. When I launched SPSSX after that, that is > when I discovered the syntax editor had reverted back to the default > layout. > Stan > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] <mailto:[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 |
My apologies for wasting everyone's time. I found the problem was a
syntax error. I think I can see why the program ran in the newly created folder but it would have given wrong results. I am preparing to give a talk and so I added '-talk' to the file names to distinguish them from previous runs of the program. I inadvertently did add it to one of the save paths in the Define. If your interested I can provide you with the syntax where the error occurred. Stan On 10/5/2018 8:31 AM, Stan Gorodenski wrote: > Hi Mario, > It seems if it was because alphanumeric variables are of different > lengths that is causing the error messages, the same exact program > would not run on my other pc, the desktop pc. This morning I tried > something different. On my laptop I created another folder and copied > the spssx program and all relevant files to it. I changed all the file > paths to point to the new folder and ran the program again. It worked. > I then went back to the original folder and ran it and it and it > bombed out again with the same error messages. > > I'm confused now what could be happening. The program in the original > folder is six subfolder levels down. I do not see how that could be a > problem now because this program has worked dozens of times until > yesterday. > Stan > > On 10/5/2018 6:02 AM, Mario Giesel wrote: >> Hi, Stan, >> >> difficult to solve without some working example we can use. >> There might be an issue with an alphanumeric variable if it has >> different lengths in both files. In this case you have to synchronize >> the lengths e.g. with ALTER TYPE. >> >> Mario Giesel >> Munich, Germany >> >> >> Am Freitag, 5. Oktober 2018, 08:49:45 MESZ hat Stan Gorodenski >> <[hidden email]> Folgendes geschrieben: >> >> >> I ran into a problem running a program on my laptop. After viewing the >> output from a program I executed I went back to the syntax editor and >> saw it had reverted to the default layout. This has happened before. I >> had to recompose it again with my preferences for such things as font, >> font size, color of keywords, no line numbers, etc. When I went to run >> my program again it ran part of it, but stopped at a define statement >> that has ADD FILES commands. It came back with error messages (one for >> each record) that said "mismatched variable types on the input files." >> Luckily, I had backed up the folder with the program today. I loaded the >> folder on my other pc, my desktop pc, that has SPSSX installed on it and >> it works like it had been. I then went back to the laptop and deleted >> the folder and copied it over from my backup. I ran the program again >> and it still will not run the define statement of add files and comes >> back with the error message of "mismatched variable types on the input >> files." >> >> What could be happening? It had been running on my laptop, now it won't, >> but it will run on my desktop. As I mentioned, earlier today I had >> backed up the folder with all the data, files, and programs. Both pc's >> have the same backed up folder on them. I'm wondering if SPSSX on my >> laptop got corrupted somehow because prior to the syntax editor on my >> laptop reverting back to the default layout, I was having a problem with >> the screen freezing up and not able to go back to the syntax editor from >> the output screen. And I couldn't get out of SPSSX. I had to go to the >> task manager to stop SPSSX. When I launched SPSSX after that, that is >> when I discovered the syntax editor had reverted back to the default >> layout. >> Stan >> >> ===================== >> To manage your subscription to SPSSX-L, send a message to >> [hidden email] <mailto:[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 |
In reply to this post by Stan Gorodenski
Unequal widths is the usual reason for this message. I should point out that the STATS ADJUST WIDTHS extension command can fix these differences in a batch of sav files so that they can be merged. On Fri, Oct 5, 2018 at 9:31 AM Stan Gorodenski <[hidden email]> wrote: Hi Mario, |
Free forum by Nabble | Edit this page |