SPSS Statistics

 View Only
Expand all | Collapse all

Syntax RUNNING but no output displays

  • 1.  Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 04:03 PM

    Open data.  Open Syntax.  Run Syntax.  No output generates.  The Syntax hangs with the words, "RUNNING CROSSTABS," or whatever else I try to run, in the lower right bottom corner.  I can shut the syntax window.  I cannot shut the data without CTRL-ALT-DEL.  When I reopen SPSS, a pop-up window IBM SPSS Statistics Error Reporting Service displays.  Not the kind of problem to have on a Friday afternoon at 4pm.  Suggestions welcomed.



    ------------------------------
    Lynne Moronski
    ------------------------------


  • 2.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 04:12 PM

    Keep SPSS closed.

    Open a command window. 

    CD "C:\Program Files\IBM\SPSS Statistics"

    stats.com

    That should start SPSS. Now try your analysis again and tell me if SPSS prints anything to that command window. 



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 3.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 04:30 PM
    Hi.  It ran the first syntax and it displayed in the output! But then it will not run another syntax or display output after that.  It's "Running" but nothing is displaying.  There is nothing outputting in the command window either.  Lynne






  • 4.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 04:53 PM

    OK, but what about the command window that you started SPSS from - you know, where you typed "stats.com" to start the program? Did SPSS print anything to that window, no matter how strange-looking?



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 5.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 05:03 PM
    I did it a second time and, no, I am so sorry.






  • 6.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 05:09 PM

    OK, so you started SPSS from a command window and it printed nothing back to the command window. That's fine.

    Start SPSS from a command window again.

    Open a new syntax window. Copy, paste, and run this:

    SHOW VERSION.

    DATA LIST FREE /x (F1).

    BEGIN DATA.

    1 2 3

    END DATA.

    LIST.

    PRINT /x.

    EXECUTE.

    FRE VAR ALL.

    DES VAR ALL.

    Please tell me the version number that SHOW VERSION returns.

    Did the other output display in the Output Viewer?



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 7.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 05:12 PM

    The syntax should look like this:



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 8.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 05:18 PM
    Yes, it printed in the other window.  Screen clip.  
    image.png
    Then I think this is the show version:
    image.png






  • 9.  RE: Syntax RUNNING but no output displays

    Posted Fri February 24, 2023 05:23 PM

    OK, I'm going to need all of that text, so please:

    • Go the command window
    • select all the text after you entered spss.com
    • paste it here, and send it, or email it to me at marcantr@us.ibm.com

    It might help us diagnose what the problem is.

    I'm also wondering if you have considered upgrading to v29...?



    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 10.  RE: Syntax RUNNING but no output displays

    Posted Mon June 03, 2024 10:18 AM

    Jun. 01, 2024 12:01:12 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0xffffffff80000002. Windows RegCreateKeyEx(...) returned error code 5.
    Jun. 01, 2024 12:01:12 PM java.util.prefs.WindowsPreferences WindowsRegOpenKey1
    WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002.
    Jun. 01, 2024 12:01:12 PM java.util.prefs.WindowsPreferences openKey
    WARNING: Could not open windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002. Windows RegOpenKey(...) returned error code 2.
    java.util.prefs.BackingStoreException: Could not open windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002.
            at java.prefs/java.util.prefs.WindowsPreferences.childrenNamesSpi(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.childrenNames(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.getChild(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.nodeExists(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.nodeExists(Unknown Source)
            at com.spss.java_client.core.documents.UpdateUserPrefs.getSystemPrefs(Unknown Source)
            at com.spss.java_client.core.documents.UpdateUserPrefs.<init>(Unknown Source)
            at com.spss.java_client.core.common.Driver.main(Unknown Source)
    Jun. 01, 2024 12:01:12 PM java.util.prefs.WindowsPreferences WindowsRegOpenKey1
    WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002.
    Jun. 01, 2024 12:01:12 PM java.util.prefs.WindowsPreferences openKey
    WARNING: Could not open windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002. Windows RegOpenKey(...) returned error code 2.
    java.util.prefs.BackingStoreException: Could not open windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002.
            at java.prefs/java.util.prefs.WindowsPreferences.childrenNamesSpi(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.childrenNames(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.getChild(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.nodeExists(Unknown Source)
            at java.prefs/java.util.prefs.AbstractPreferences.nodeExists(Unknown Source)
            at com.spss.java_client.core.documents.UpdateUserPrefs.getSystemPrefs(Unknown Source)
            at com.spss.java_client.core.documents.UpdateUserPrefs.firstLaunchAfterInstall(Unknown Source)
            at com.spss.java_client.core.documents.UpdateUserPrefs.<init>(Unknown Source)
            at com.spss.java_client.core.common.Driver.main(Unknown Source)
    Jun 01, 2024 12:01:17 PM java.util.prefs.WindowsPreferences WindowsRegOpenKey1
    WARNING: Trying to recreate Windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002.
    Jun 01, 2024 12:01:17 PM java.util.prefs.WindowsPreferences openKey
    WARNING: Could not open windows registry node Software\JavaSoft\Prefs at root 0xffffffff80000002. Windows RegOpenKey(...) returned error code 2.

    I got this message. I am trying to execute the code on syntax so I can run the task multiple times using code but nothing is displayed on syntax.



    ------------------------------
    Abishek Shrestha
    ------------------------------



  • 11.  RE: Syntax RUNNING but no output displays

    Posted 29 days ago

    Hi,

    I get the exact same message as Abishek in the command prompt output, and nothing in the syntax window. Does that mean that my license is not properly registrated (because of the Unknown Source)?

    I do get sort of a result in the SPSS output window, but it only shows me how the data was handled:

    I tried everything from this thread and another one: 

    Output not showing in SPSS Statistics Viewer? | SPSS Statistics (ibm.com)

    The syntax is not in the OMS mode.

    When I first tried the program (version 29.0.2.0), I had problems with the language settings, and was not able to change the separator to "." from ",".

    I also got an error message to change the language settings to Norwegian, but I receive "invalid parameter" for SET LOCALE=nb.no (or no.no) when I try. However, this error message only appeared the first time I tried to run descriptive statistics. (Warning # 849 in column 24; according to the webpage it should be column 23, but I am quite sure that I got the answer column 24 instead.)

    I hope you can help. I am getting kind of desperate here.

    Cheers,

    Annette



    ------------------------------
    Annette Brenner
    ------------------------------



  • 12.  RE: Syntax RUNNING but no output displays

    Posted Thu January 04, 2024 09:54 AM

    Dear Rick, 

    I saw you helped many people having this output not showing issue. I have the following script. First time I ran it ran but stucked after the 10th model. So logically, I reduced the models and ran it again. But now even the original script will not run. SPSS does not show anything but the spss running the analysis (so it tells). I also saw in other form that you told some one to run the show version script. I ran it and it printed output just for your information. I always run the script the dataset I open. Is there something wrong with my script? What can be the issue? I just dont understand how a software cannot run the same script twice. I tried to restart but didnt help also. 

     Thank you so much for the help.

    I am running SPSS Version 29.0.1.1 (244) on a Mac OS X Intel. 

    My script:

    * Encoding: UTF-8.

    * Defining the working directory.

    CD '/Users/davidtekampe/Library/Mobile Documents/com~apple~CloudDocs/PhD/data/'.

    * the dataset is already loaded in SPSS.

    ************************************************************************************************************************

    * Handling missing data.

    ** Similar to Python to drop rows for specified variables with missing values.

    ** This command (SELECT IF) will keep only those cases in the dataset that do not have missing values for any of these variables:

    SELECT IF (NOT MISSING(id) AND 

               NOT MISSING(group) AND 

               NOT MISSING(event_category) AND 

               NOT MISSING(event_evaluation) AND 

               NOT MISSING(event_significance) AND 

               NOT MISSING(event_cause) AND 

               NOT MISSING(event_influenceability) AND 

               NOT MISSING(event_sentiment_numerical) AND 

               NOT MISSING(valence) AND 

               NOT MISSING(calmness) AND 

               NOT MISSING(self_esteem) AND 

               NOT MISSING(time_of_day) AND 

               NOT MISSING(ssd_self_esteem) AND 

               NOT MISSING(ssd_valence) AND  

               NOT MISSING(ssd_calmness) AND 

               NOT MISSING(day)).

    EXECUTE.

    ************************************************************************************************************************

    * Define reference categories for categorical variables.

    * Set 2 as the reference category for "group."

    RECODE group (2 = 0) (1 = 1).

    EXECUTE.

    ************************************************************************************************************************

    * Research Question 1

    * Model for Self-Esteem with interactions.

    MIXED self_esteem BY time_of_day event_category event_sentiment_numerical group

      /FIXED = time_of_day event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    * Repeat for 'valence' and 'calmness' with their respective interactions.

    MIXED valence BY time_of_day event_category event_sentiment_numerical group

      /FIXED = time_of_day event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    MIXED calmness BY time_of_day event_category event_sentiment_numerical group

      /FIXED = time_of_day event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    ************************************************************************************************************************

    * Research Question 2

    * Model for Stability of Self-Esteem with interactions.

    MIXED ssd_self_esteem BY event_category event_sentiment_numerical group time_of_day

      /FIXED = event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    * Repeat for 'ssd_valence' and 'ssd_calmness' with their respective interactions.

    MIXED ssd_valence BY event_category event_sentiment_numerical group time_of_day

      /FIXED = event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    MIXED ssd_calmness BY event_category event_sentiment_numerical group time_of_day

      /FIXED = event_category event_sentiment_numerical group time_of_day*event_category*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    ************************************************************************************************************************

    * Research Question 3

    * Model for Time of Day Influence on Self-Esteem with interactions.

    MIXED self_esteem BY time_of_day event_sentiment_numerical group

      /FIXED = time_of_day event_sentiment_numerical group time_of_day*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    * Repeat for 'valence' and 'calmness' with their respective interactions.

    MIXED valence BY time_of_day event_sentiment_numerical group

      /FIXED = time_of_day event_sentiment_numerical group time_of_day*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    MIXED calmness BY time_of_day event_sentiment_numerical group

      /FIXED = time_of_day event_sentiment_numerical group time_of_day*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    ************************************************************************************************************************

    * Research Question 4

    * Longitudinal Model for Self-Esteem with interactions.

    MIXED self_esteem BY event_category group day event_evaluation event_significance event_influenceability

      /FIXED = event_category group day event_evaluation event_significance event_influenceability event_category*event_evaluation*event_significance*event_influenceability

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    * Repeat for 'valence' and 'calmness' with their respective interactions.

    MIXED valence BY event_category group day event_evaluation event_significance event_influenceability

      /FIXED = event_category group day event_evaluation event_significance event_influenceability event_category*event_evaluation*event_significance*event_influenceability

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    MIXED calmness BY event_category group day event_evaluation event_significance event_influenceability

      /FIXED = event_category group day event_evaluation event_significance event_influenceability event_category*event_evaluation*event_significance*event_influenceability

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    ************************************************************************************************************************

    * Research Question 5

    * Model for Event Ratings and Sentiment Analysis on Self-Esteem with interactions.

    MIXED self_esteem BY event_evaluation event_sentiment_numerical time_of_day group

      /FIXED = event_evaluation event_sentiment_numerical time_of_day group event_evaluation*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    * Repeat for 'valence' and 'calmness' with their respective interactions.

    MIXED valence BY event_evaluation event_sentiment_numerical time_of_day group

      /FIXED = event_evaluation event_sentiment_numerical time_of_day group event_evaluation*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.

    MIXED calmness BY event_evaluation event_sentiment_numerical time_of_day group

      /FIXED = event_evaluation event_sentiment_numerical time_of_day group event_evaluation*event_sentiment_numerical

      /RANDOM = INTERCEPT | SUBJECT(id) COVTYPE(VC)

      /PRINT = SOLUTION TESTCOV.



    ------------------------------
    David Tekampe
    ------------------------------