SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Strange error in SPSS 27?

    Posted 3 days ago
      |   view attached

    The line (55) that error message refers to is a part of bigger syntax file:

    50 compute filt01 = 0.
    51 variable labels filt01 'Na pregledu'.
    52 value labels filt01 0 'bez dg' 1 'sa dg'.
    53 execute.
    53 if (SUBSTR(dg1, 1 )   ~=  "") filt01 = 1.
    55 execute.

    It's strange that I receive this error in SPSS Output when switching from Unicode to System Locale? (Attachment)



    ------------------------------
    Srdjan Borjanovic
    ------------------------------


  • 2.  RE: Strange error in SPSS 27?

    Posted 2 days ago

    I am new in this community and still not familiar with different ways how to post a thread and answer in the existing thread. I opened a thread two days ago where I unfortunately made an error in title:

    I wrote: "Strane error in SPSS 27"... instead "Strange error in SPSS 27". So, this thread could not be connected (merged) with that thread which has typo in the title.

    The first part of this thread with SPSS syntax is in fact the answer to John Peck's question in my earlier thread.

    In the second part I attached a screenshot of the SPSS output where this strange error shows up in output when simply switching from Unicode to System Locale and vice versa.



    ------------------------------
    Srdjan Borjanovic
    ------------------------------



  • 3.  RE: Strange error in SPSS 27?

    Posted 2 days ago
    You can only toggle back and forth from local language to Unicode with an empty dataset. 

    Try.

    Dataset close all. 
    New file. 
    Set Unicode = on.

    Sent from my iPhone





  • 4.  RE: Strange error in SPSS 27?

    Posted yesterday

    Yes, I already knew that. It was actually an empty data set and those error refer to something else. In the meantime I found a solution. I don't know how but I have accidentally deleted spss.err file. I had to find another PC with working SPSS 27 where I could copy that file and paste it on my machine. Everything is OK now. Simply said SPSS could not find spss.err and replaced every error with a message that it can not find the spss.err file to dispplay the error. 



    ------------------------------
    Srdjan Borjanovic
    ------------------------------