Reading SPSS21 syntax files from SPSS19?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Reading SPSS21 syntax files from SPSS19?

Staffan Lindberg

Dear list

 

Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?

 

best

 

Staffan Lindberg

Sweden

Reply | Threaded
Open this post in threaded view
|

Re: Reading SPSS21 syntax files from SPSS19?

John F Hall

Is there an error or warning message pointing to a command or specification?  If so, check the CSR from Help > CSR to see when that command was added or last modified.

 

I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.

 

Depending on what you’re trying to do, you can always send me (an extract from) one of the *.sps files as an attachment.  If it’s only basic, I can probably help, otherwise you’ll have to wait for Albert-Jan (Holland) and others in Europe.  Later on the specialts from over the pond will surely be able to help (Jon, David, Bruce et al)

 

John F Hall (Mr)

[Retired academic survey researcher]

 

Email:   [hidden email] 

Website: www.surveyresearch.weebly.com

SPSS start page:  www.surveyresearch.weebly.com/1-survey-analysis-workshop

 

 

 

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 08:16
To: [hidden email]
Subject: Reading SPSS21 syntax files from SPSS19?

 

Dear list

 

Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?

 

best

 

Staffan Lindberg

Sweden

Reply | Threaded
Open this post in threaded view
|

SV: Reading SPSS21 syntax files from SPSS19? More hassle!

Staffan Lindberg
In reply to this post by Staffan Lindberg

Thanks John!

 

I’m afraid I’ve made things worse. Before I got your reply I noticed in the control panel that SPSS21 had been installed (after I tried to save some syntax files from SPSS21 via e-mail). However, when I tried to execute this SPSS21 this naturally fails as I do not have this version. After this I uninstalled this uncomplete version of SPSS21. Then when I try to execute my SPSS19, I got a new Window (never seen before) with the name “Server login Local computer” with the Local Computer tickmarked and the alternatives ADD, Search, OK, Cancel and Help. Whatever I try I cannot start my SPSS19 again. If I click ADD it wants to know the server name and suggests and suggests port number 3019. Small catastrophy! How can I access my SPSS19 again?

 

best

 

Staffan Lindberg

Sweden

 

Från: John F Hall [mailto:[hidden email]]
Skickat: den 20 januari 2014 08:28
Till: 'Staffan Lindberg'; [hidden email]
Ämne: RE: Reading SPSS21 syntax files from SPSS19?

 

Is there an error or warning message pointing to a command or specification?  If so, check the CSR from Help > CSR to see when that command was added or last modified.

 

I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.

 

Depending on what you’re trying to do, you can always send me (an extract from) one of the *.sps files as an attachment.  If it’s only basic, I can probably help, otherwise you’ll have to wait for Albert-Jan (Holland) and others in Europe.  Later on the specialts from over the pond will surely be able to help (Jon, David, Bruce et al)

 

John F Hall (Mr)

[Retired academic survey researcher]

 

Email:   [hidden email] 

Website: www.surveyresearch.weebly.com

SPSS start page:  www.surveyresearch.weebly.com/1-survey-analysis-workshop

 

 

 

 

From: SPSSX(r) Discussion [[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 08:16
To: [hidden email]
Subject: Reading SPSS21 syntax files from SPSS19?

 

Dear list

 

Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?

 

best

 

Staffan Lindberg

Sweden

Reply | Threaded
Open this post in threaded view
|

Re: Reading SPSS21 syntax files from SPSS19?

Albert-Jan Roskam
In reply to this post by John F Hall
________________________________

> From: John F Hall <[hidden email]>
>To: [hidden email]
>Sent: Monday, January 20, 2014 8:28 AM
>Subject: Re: [SPSSX-L] Reading SPSS21 syntax files from SPSS19?
>
>
>
>Is there an error or warning message pointing to a command or specification?�  If so, check the CSR from Help > CSR to see when that command was added or last modified.
>�
>I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.


Hi,


When you say "cannot read" what exactly do you mean? You get some syntax errors? Maybe related to STAR JOIN (or was that introduced in v22?). Or can't you open the syntax file? Are the syntax files of a "normal" size? If they are megabytes, they might be misnamed e.g. .sav files.


What do you see if you open them in e.g Notepad? If the first chars are  and the rest is fairly normal, the file is encoded in utf-8 and the first weird chars is a BOM (see http://www.youtube.com/watch?v=GLDvtpSC_98 for an excellend discussion of a BOM ;-). To read the file in utf-8 you can (1) use SET UNICODE = ON (this setting will stay this way until you change it), then open the syntax via the GUI or (2) INSERT the file with /ENCODING=UTF8.

But without the error message, it's just speculation. ;-)


Albert-Jan

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: SV: Reading SPSS21 syntax files from SPSS19? More hassle!

Albert-Jan Roskam
In reply to this post by Staffan Lindberg
yikes! And what happens if you use "localhost" as the server name?

 
Regards,

Albert-Jan



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From: Staffan Lindberg <[hidden email]>
To: [hidden email]
Sent: Monday, January 20, 2014 10:44 AM
Subject: [SPSSX-L] SV: Reading SPSS21 syntax files from SPSS19? More hassle!

Thanks John!
 
I’m afraid I’ve made things worse. Before I got your reply I noticed in the control panel that SPSS21 had been installed (after I tried to save some syntax files from SPSS21 via e-mail). However, when I tried to execute this SPSS21 this naturally fails as I do not have this version. After this I uninstalled this uncomplete version of SPSS21. Then when I try to execute my SPSS19, I got a new Window (never seen before) with the name “Server login Local computer” with the Local Computer tickmarked and the alternatives ADD, Search, OK, Cancel and Help. Whatever I try I cannot start my SPSS19 again. If I click ADD it wants to know the server name and suggests and suggests port number 3019. Small catastrophy! How can I access my SPSS19 again?
 
best
 
Staffan Lindberg
Sweden
 
Från: John F Hall [mailto:[hidden email]]
Skickat: den 20 januari 2014 08:28
Till: 'Staffan Lindberg'; [hidden email]
Ämne: RE: Reading SPSS21 syntax files from SPSS19?
 
Is there an error or warning message pointing to a command or specification?  If so, check the CSR from Help > CSR to see when that command was added or last modified.
 
I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.
 
Depending on what you’re trying to do, you can always send me (an extract from) one of the *.sps files as an attachment.  If it’s only basic, I can probably help, otherwise you’ll have to wait for Albert-Jan (Holland) and others in Europe.  Later on the specialts from over the pond will surely be able to help (Jon, David, Bruce et al)
 
John F Hall (Mr)
[Retired academic survey researcher]
 
Email:   [hidden email] 
 
 
 
 
From: SPSSX(r) Discussion [[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 08:16
To: [hidden email]
Subject: Reading SPSS21 syntax files from SPSS19?
 
Dear list
 
Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?
 
best
 
Staffan Lindberg
Sweden


Reply | Threaded
Open this post in threaded view
|

Re: Reading SPSS21 syntax files from SPSS19?

John F Hall
In reply to this post by Staffan Lindberg

Staffan

 

Listers don’t like the subject being changed as they can’t always keep track of the thread, so I’ve changed it back.  Sorry I can’t help on this: too technical for me.  I see Albert-Jan has replied; if he can’t help you’ll have to wait for the USA and Canada to wake up.

 

John

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 10:45
To: [hidden email]
Subject: SV: Reading SPSS21 syntax files from SPSS19? More hassle!

 

Thanks John!

 

I’m afraid I’ve made things worse. Before I got your reply I noticed in the control panel that SPSS21 had been installed (after I tried to save some syntax files from SPSS21 via e-mail). However, when I tried to execute this SPSS21 this naturally fails as I do not have this version. After this I uninstalled this uncomplete version of SPSS21. Then when I try to execute my SPSS19, I got a new Window (never seen before) with the name “Server login Local computer” with the Local Computer tickmarked and the alternatives ADD, Search, OK, Cancel and Help. Whatever I try I cannot start my SPSS19 again. If I click ADD it wants to know the server name and suggests and suggests port number 3019. Small catastrophy! How can I access my SPSS19 again?

 

best

 

Staffan Lindberg

Sweden

 

Från: John F Hall [[hidden email]]
Skickat: den 20 januari 2014 08:28
Till: 'Staffan Lindberg'; [hidden email]
Ämne: RE: Reading SPSS21 syntax files from SPSS19?

 

Is there an error or warning message pointing to a command or specification?  If so, check the CSR from Help > CSR to see when that command was added or last modified.

 

I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.

 

Depending on what you’re trying to do, you can always send me (an extract from) one of the *.sps files as an attachment.  If it’s only basic, I can probably help, otherwise you’ll have to wait for Albert-Jan (Holland) and others in Europe.  Later on the specialts from over the pond will surely be able to help (Jon, David, Bruce et al)

 

John F Hall (Mr)

[Retired academic survey researcher]

 

Email:   [hidden email] 

Website: www.surveyresearch.weebly.com

SPSS start page:  www.surveyresearch.weebly.com/1-survey-analysis-workshop

 

 

 

 

From: SPSSX(r) Discussion [[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 08:16
To: [hidden email]
Subject: Reading SPSS21 syntax files from SPSS19?

 

Dear list

 

Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?

 

best

 

Staffan Lindberg

Sweden

Reply | Threaded
Open this post in threaded view
|

SV: [SPSSX-L] SV: Reading SPSS21 syntax files from SPSS19? More hassle!

Staffan Lindberg
In reply to this post by Staffan Lindberg

Thanks Albert-Jan!

 

I get the error message: Attempt to connect to a remote server failed inet Localhost 3019

 

Then I am prompted for:

 

Server Name:

Port Number:

User ID:

Password:

Domain:

 

best

 

Staffan

 

 

Från: Albert-Jan Roskam [mailto:[hidden email]]
Skickat: den 20 januari 2014 11:20
Till: Staffan Lindberg; [hidden email]
Ämne: Re: [SPSSX-L] SV: Reading SPSS21 syntax files from SPSS19? More hassle!

 

yikes! And what happens if you use "localhost" as the server name?

 

 

Regards,

Albert-Jan

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 


From: Staffan Lindberg <[hidden email]>
To: [hidden email]
Sent: Monday, January 20, 2014 10:44 AM
Subject: [SPSSX-L] SV: Reading SPSS21 syntax files from SPSS19? More hassle!

 

Thanks John!

 

I’m afraid I’ve made things worse. Before I got your reply I noticed in the control panel that SPSS21 had been installed (after I tried to save some syntax files from SPSS21 via e-mail). However, when I tried to execute this SPSS21 this naturally fails as I do not have this version. After this I uninstalled this uncomplete version of SPSS21. Then when I try to execute my SPSS19, I got a new Window (never seen before) with the name “Server login Local computer” with the Local Computer tickmarked and the alternatives ADD, Search, OK, Cancel and Help. Whatever I try I cannot start my SPSS19 again. If I click ADD it wants to know the server name and suggests and suggests port number 3019. Small catastrophy! How can I access my SPSS19 again?

 

best

 

Staffan Lindberg

Sweden

 

Från: John F Hall [[hidden email]]
Skickat: den 20 januari 2014 08:28
Till: 'Staffan Lindberg'; [hidden email]
Ämne: RE: Reading SPSS21 syntax files from SPSS19?

 

Is there an error or warning message pointing to a command or specification?  If so, check the CSR from Help > CSR to see when that command was added or last modified.

 

I think you need to send some examples of the syntax so we can see what you’re trying to do: most basic syntax is stable across most versions, even from 11 onwards.

 

Depending on what you’re trying to do, you can always send me (an extract from) one of the *.sps files as an attachment.  If it’s only basic, I can probably help, otherwise you’ll have to wait for Albert-Jan (Holland) and others in Europe.  Later on the specialts from over the pond will surely be able to help (Jon, David, Bruce et al)

 

John F Hall (Mr)

[Retired academic survey researcher]

 

Email:   [hidden email] 

 

 

 

 

From: SPSSX(r) Discussion [[hidden email]] On Behalf Of Staffan Lindberg
Sent: 20 January 2014 08:16
To: [hidden email]
Subject: Reading SPSS21 syntax files from SPSS19?

 

Dear list

 

Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?

 

best

 

Staffan Lindberg

Sweden

 

Reply | Threaded
Open this post in threaded view
|

Re: Reading SPSS21 syntax files from SPSS19?

Jon K Peck
In reply to this post by Staffan Lindberg
Syntax files are just text.  Even Notepad can read them.  The only difference might be that the files created in V21 might be encoded in Unicode (utf-8).  V19 can read Unicode files, but you might need to set Unicode on if the text appears to be garbled.  What do the files look like when you open them?


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        Staffan Lindberg <[hidden email]>
To:        [hidden email],
Date:        01/20/2014 12:17 AM
Subject:        [SPSSX-L] Reading SPSS21 syntax files from SPSS19?
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear list
 
Just got a bunch of SPSS21 syntax files which I cannot read with SPSS19. Is there any way around this?
 
best
 
Staffan Lindberg
Sweden