SPSS Statistics

SPSS Statistics

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

 View Only
  • 1.  how can i solve the issue

    Posted Thu June 17, 2021 09:56 AM

    When I go and double click on a Syntax (.sps) file and when it opens it also opens up another instance of SPSS with a blank dataset.

    How can you do this without opening a new instance of SPSS?

    SPSS 27!!






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: how can i solve the issue

    Posted Thu June 17, 2021 12:58 PM

    Opening a file this way starts a new Statistics session in order not to interfere with another session that might be running a job. Open the file from the File menu within Statistics






    #SPSSStatistics
    #Support
    #SupportMigration


  • 3.  RE: how can i solve the issue

    Posted Tue August 13, 2024 04:45 PM

    This happens to me as well, SPSS 27, but this only started in January 2024. Before it always openend in the existing instance - the way it should be!

    Before the "multiple-instance-problem" occured I installed SPSS 28, other problems came up (addtitional data-sets openend when using aggregate in the command syntax )  and I deinstalled SPSS 28 again.

    So I would really appreciate an advice to open the file in the same instance by doubleclick again.

    More than one session results in mixing up the command syntax, the files are not available in the "recently used files" - section, ...

    And opening the file in the menu within statistics takes much longer:

    • the file -details (size and date) are not shown in the file menu (you have to do an extra-click)
    • - you can't use the windows "Schnellzugriff" for selecting the correct folder
    • and it is especially if you want to open more than one file, you have to open every file seperately now in opposite to using doubleclick in the "explorer"



    ------------------------------
    Elisabeth Tenhonsel
    ------------------------------



  • 4.  RE: how can i solve the issue

    Posted Tue August 13, 2024 05:42 PM
    Multiple opens via the explorer in the same session just isn't possible anymore.  I don't know exactly why that was discontinued except that there were some problems with it that were not readily fixable.

    However, if your typical scenario is that you need to open the same batch of files repeatedly in a new session, there is a way to do that.  You have to make a project file that lists the files you want to open, so it won't save time if the files are different every time, but even if only some of the files are regularly reused, it can get you started faster..

    There is an extension command, STATS  OPEN PROJECT, which you can install via Extensions > Extension Hub.  It will then appear on the File menu in the Data Editor window, and it will open the project's list of files all at once.  It can also open syntax and spv files at the same time and even run some code you want to execute every time, typically to define file handles, macros, etc.

    The file format is defined in the dialog Help window, but it is very simple consisting of a RUN line followed by any number of files.

    The project file can even be opened automatically at startup, so all you have to do is to launch SPSS Statistics.

    I hope that helps.

    --





  • 5.  RE: how can i solve the issue

    Posted Fri August 16, 2024 03:13 AM

    Hi Jon,

     

    many thanks for your helpful answer and good explanation of the way to use the "project"-extension. Meanwhile I tested it but unfortunately it doesn't work for me: it is necessary to use the UTF-8 universal code and this is not possible for us. We have to use the "Länderspezifische Codierung" as we need accents – and so I would have to change the coding every time. So it would be helpful if this could be changed.

     

    Best regards

     

    Elisabeth

     

    ___________________________________________________________________________

     


    Phone: +49 (0) 211 3981 948 Homeoffice: +49 (0) 2851 588 9989 Fax: +49 (0)211-397395

    Email: elisabeth.tenhonsel@etatcontrol.com  Web: www.ecimediamanagement.com

    Etat Control Düsseldorf - Germany
    Rathausufer 23, 40213 Düsseldorf, Germany

     

    Confidentiality statement. The information in this e-mail and any attachments is confidential. It is the property of the Sender and is only intended for the use of the specified recipient(s). If you are not one of the specified recipients please notify the sender immediately. Distribution of an incorrectly received message may be unlawful.

     

     






  • 6.  RE: how can i solve the issue

    Posted Fri August 16, 2024 09:38 AM
    utf-8 accepts any Unicode character - over 100,000 possibilities.  Although I am familiar with many character encoding systems, I have never heard the term
    "Länderspezifische Codierung".    I think that means country-specific encoding, which on Windows would mean code page.

    Since the contents of this file would just be used in this command, I would think that saving it in the utf-8 encoding would work well.  You could even create it in the SPSS Syntax Editor, since that supports both utf-8 and "local encoding", which means code page.


    --