Error 4511 (or similar) for do...repeat

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

Error 4511 (or similar) for do...repeat

LHorst
Out of the blue last night, Previously working syntax with do repeat started throwing off the following error message (or something similar:

Error # 4511 in column 1024. Text: (End of Command) Undefined error #4511 - not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~1\24\lang\en\spss.err"

​I googled this and found one very specific reference to this issue​ (from which I copied this message). The URL for this was:


I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which I bought last summer. I thought I got tech support for a year but was told I had to buy it when I contacted them a while ago about something else. 

This is really annoying, as do repeat is my friend.
My Windows 8.1 recently did an update (nowhere near the disaster that Window 10 Creator has been for some), but my code has been working since that update. Closing down and rebooting did not help. ​

​Does anyone know what's up with this, how to fix it, or whether there are any patches? 


--
Leslie Horst, Ph.D.
Principal
Horst Data Partners
===================== 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: Error 4511 (or similar) for do...repeat

Rich Ulrich

The problem at your citation has the code

do repeat z=acuteh.1 acuteh.2 acuteh.3 acuteh.4 acuteh.5 acuteh.6 acuteh.7 acuteh.8 acuteh.9/

  a=subacute.1 subacute.2 subacute.3 subacute.4 subacute.5 subacute.6 subacute.7 subacute.8 subacute.9/

  b=duration0 to duration9.


I note that a problem will arise for that code because z and a  run from 1 to 9 and b has 10 elements (presumably)

since the indexes are 0 to 9.   - I can imagine how the error message can fit, though I would wish for a plainer one.


If I read right, that was not your code.  If your problem is not the same, please post your own code.


--

Rich Ulrich


From: SPSSX(r) Discussion <[hidden email]> on behalf of Leslie Horst <[hidden email]>
Sent: Saturday, June 17, 2017 10:15:03 PM
To: [hidden email]
Subject: Error 4511 (or similar) for do...repeat
 
Out of the blue last night, Previously working syntax with do repeat started throwing off the following error message (or something similar:

Error # 4511 in column 1024. Text: (End of Command) Undefined error #4511 - not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~1\24\lang\en\spss.err"

​I googled this and found one very specific reference to this issue​ (from which I copied this message). The URL for this was:


I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which I bought last summer. I thought I got tech support for a year but was told I had to buy it when I contacted them a while ago about something else. 

This is really annoying, as do repeat is my friend.
My Windows 8.1 recently did an update (nowhere near the disaster that Window 10 Creator has been for some), but my code has been working since that update. Closing down and rebooting did not help. ​

​Does anyone know what's up with this, how to fix it, or whether there are any patches? 


--
Leslie Horst, Ph.D.
Principal
Horst Data Partners
===================== 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
Reply | Threaded
Open this post in threaded view
|

Re: Error 4511 (or similar) for do...repeat

Jon Peck
The error message is actually reporting that the intended error message is not in the error message file.  That should be reported as a bug.

On Sat, Jun 17, 2017 at 9:37 PM, Rich Ulrich <[hidden email]> wrote:

The problem at your citation has the code

do repeat z=acuteh.1 acuteh.2 acuteh.3 acuteh.4 acuteh.5 acuteh.6 acuteh.7 acuteh.8 acuteh.9/

  a=subacute.1 subacute.2 subacute.3 subacute.4 subacute.5 subacute.6 subacute.7 subacute.8 subacute.9/

  b=duration0 to duration9.


I note that a problem will arise for that code because z and a  run from 1 to 9 and b has 10 elements (presumably)

since the indexes are 0 to 9.   - I can imagine how the error message can fit, though I would wish for a plainer one.


If I read right, that was not your code.  If your problem is not the same, please post your own code.


--

Rich Ulrich


From: SPSSX(r) Discussion <[hidden email]> on behalf of Leslie Horst <[hidden email]>
Sent: Saturday, June 17, 2017 10:15:03 PM
To: [hidden email]
Subject: Error 4511 (or similar) for do...repeat
 
Out of the blue last night, Previously working syntax with do repeat started throwing off the following error message (or something similar:

Error # 4511 in column 1024. Text: (End of Command) Undefined error #4511 - not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~1\24\lang\en\spss.err"

​I googled this and found one very specific reference to this issue​ (from which I copied this message). The URL for this was:


I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which I bought last summer. I thought I got tech support for a year but was told I had to buy it when I contacted them a while ago about something else. 

This is really annoying, as do repeat is my friend.
My Windows 8.1 recently did an update (nowhere near the disaster that Window 10 Creator has been for some), but my code has been working since that update. Closing down and rebooting did not help. ​

​Does anyone know what's up with this, how to fix it, or whether there are any patches? 


--
Leslie Horst, Ph.D.
Principal
Horst Data Partners
===================== 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



--
Jon K Peck
[hidden email]

===================== 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: Error 4511 (or similar) for do...repeat

Bruce Weaver
Administrator
In reply to this post by Rich Ulrich
Yes, please post the code that is generating the error message.  Including a small data set (using DATA LIST) that others can use to duplicate the problem would also be very helpful.

Rich Ulrich wrote
--- snip ---

If your problem is not the same, please post your own code.
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Follow up about error 4511

LHorst
In reply to this post by LHorst
I was in a hurry to get a project done when this error cropped up. I dumped the code and created my variables one at a time. However, it was of the general form:

do repeat  r = v1 v2 v3 v4 / s = va vb vc vd / t = var1 var2 var3 var4.
compute t = (s/100)*r.
end repeat.

Much simpler than the example I found where someone else got this error while attempting a do...repeat sequence.



On Sun, Jun 18, 2017 at 12:00 AM, SPSSX-L automatic digest system <[hidden email]> wrote:
There are 4 messages totaling 653 lines in this issue.

Topics of the day:

  1. Reshape from Long to Wide
  2. Error 4511 (or similar) for do...repeat (3)

=====================
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

----------------------------------------------------------------------

Date:    Sat, 17 Jun 2017 11:01:02 -0400
From:    Chao yawo <[hidden email]>
Subject: Reshape from Long to Wide

Hello all,

good morning.  I am trying to reshape a data from wide to long to use for a
GENLIN model.

Each respondent in the data was asked to name 3 associates who they ask for
help (named Fr1, Fr2, Fr3) and 3 others who they seek advice from (Sis1,
Sis2, Sis3).

They were also asked to provide a number of information about each
associates, for example, their age (Fr1_Age....Sis3_Age).

Respondents also report their Age, Gender, etc (called R_Age, R_Gender).

I want to reshape the data from wide to long, as shown in the image posted
here: * https://ibb.co/bBVpoQ <https://ibb.co/bBVpoQ>.*

I am able to do it for one of the relations, using the following command:

VARSTOCASES
  /MAKE trans1 FROM Fr_Alters_1  Fr_Alters_2   Fr_Alters_3
  /MAKE trans2 FROM Age1   Age2 Age3
  /INDEX=Index1(3)
  /KEEP=id R_Age1   R_Age2   R_Age3  Relation1  Relation2  Relation3
  /NULL=KEEP.

However, I am not been successful in getting the command to reproduce the
two relations at the same time.

I will appreciate some help from you all in accomplishing this.

thanks - Cy

-----------------------------------------------------

=====================
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

------------------------------

Date:    Sat, 17 Jun 2017 22:15:03 -0400
From:    Leslie Horst <[hidden email]>
Subject: Error 4511 (or similar) for do...repeat

Out of the blue last night, Previously working syntax with do repeat
started throwing off the following error message (or something similar:

​Error # 4511 in column 1024. Text: (End of Command) Undefined error #4511
- not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~1\24\lang\en\spss.err"​

​I googled this and found one very specific reference to this issue​ (from
which I copied this message). The URL for this was:

https://developer.ibm.com/answers/questions/371372/getting-undefined-error-4511/.
The date of this post was this year.

I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which
I bought last summer. I thought I got tech support for a year but was told
I had to buy it when I contacted them a while ago about something else.

This is really annoying, as do repeat is my friend.

My Windows 8.1 recently did an update (nowhere near the disaster that
Window 10 Creator has been for some), but my code has been working since
that update. Closing down and rebooting did not help. ​

​Does anyone know what's up with this, how to fix it, or whether there are
any patches?


--
Leslie Horst, Ph.D.
Principal
Horst Data Partners

=====================
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

------------------------------

Date:    Sun, 18 Jun 2017 03:37:24 +0000
From:    Rich Ulrich <[hidden email]>
Subject: Re: Error 4511 (or similar) for do...repeat

The problem at your citation has the code

do repeat z=acuteh.1 acuteh.2 acuteh.3 acuteh.4 acuteh.5 acuteh.6 acuteh.7 acuteh.8 acuteh.9/

  a=subacute.1 subacute.2 subacute.3 subacute.4 subacute.5 subacute.6 subacute.7 subacute.8 subacute.9/

  b=duration0 to duration9.


I note that a problem will arise for that code because z and a  run from 1 to 9 and b has 10 elements (presumably)

since the indexes are 0 to 9.   - I can imagine how the error message can fit, though I would wish for a plainer one.


If I read right, that was not your code.  If your problem is not the same, please post your own code.


--

Rich Ulrich

________________________________
From: SPSSX(r) Discussion <[hidden email]> on behalf of Leslie Horst <[hidden email]>
Sent: Saturday, June 17, 2017 10:15:03 PM
To: [hidden email]
Subject: Error 4511 (or similar) for do...repeat

Out of the blue last night, Previously working syntax with do repeat started throwing off the following error message (or something similar:

​Error # 4511 in column 1024. Text: (End of Command) Undefined error #4511 - not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~1\24\lang\en\spss.err"​

​I googled this and found one very specific reference to this issue​ (from which I copied this message). The URL for this was:

https://developer.ibm.com/answers/questions/371372/getting-undefined-error-4511/. The date of this post was this year.

I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which I bought last summer. I thought I got tech support for a year but was told I had to buy it when I contacted them a while ago about something else.

This is really annoying, as do repeat is my friend.

My Windows 8.1 recently did an update (nowhere near the disaster that Window 10 Creator has been for some), but my code has been working since that update. Closing down and rebooting did not help. ​

​Does anyone know what's up with this, how to fix it, or whether there are any patches?


--
Leslie Horst, Ph.D.
Principal
Horst Data Partners
===================== 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 REF

------------------------------

Date:    Sat, 17 Jun 2017 21:39:40 -0600
From:    Jon Peck <[hidden email]>
Subject: Re: Error 4511 (or similar) for do...repeat

The error message is actually reporting that the intended error message is
not in the error message file.  That should be reported as a bug.

On Sat, Jun 17, 2017 at 9:37 PM, Rich Ulrich <[hidden email]> wrote:

> The problem at your citation has the code
>
> do repeat z=acuteh.1 acuteh.2 acuteh.3 acuteh.4 acuteh.5 acuteh.6 acuteh.7
> acuteh.8 acuteh.9/
>
>   a=subacute.1 subacute.2 subacute.3 subacute.4 subacute.5 subacute.6
> subacute.7 subacute.8 subacute.9/
>
>   b=duration0 to duration9.
>
>
> I note that a problem will arise for that code because z and a  run from 1
> to 9 and b has 10 elements (presumably)
>
> since the indexes are 0 to 9.   - I can imagine how the error message can
> fit, though I would wish for a plainer one.
>
>
> If I read right, that was not your code.  If your problem is not the same,
> please post your own code.
>
>
> --
>
> Rich Ulrich
> ------------------------------
> *From:* SPSSX(r) Discussion <[hidden email]> on behalf of
> Leslie Horst <[hidden email]>
> *Sent:* Saturday, June 17, 2017 10:15:03 PM
> *To:* [hidden email]
> *Subject:* Error 4511 (or similar) for do...repeat
>
> Out of the blue last night, Previously working syntax with do repeat
> started throwing off the following error message (or something similar:
>
> ​Error # 4511 in column 1024. Text: (End of Command) Undefined error
> #4511 - not found in file "C:\PROGRA~1\IBM\SPSS\STATIS~
> 1\24\lang\en\spss.err"​
>
> ​I googled this and found one very specific reference to this issue​ (from
> which I copied this message). The URL for this was:
>
> https://developer.ibm.com/answers/questions/371372/
> getting-undefined-error-4511/. The date of this post was this year.
>
> I use Windows 8.1 on a 4 year old Dell Laptop and have SPSS 24.0.0.1 which
> I bought last summer. I thought I got tech support for a year but was told
> I had to buy it when I contacted them a while ago about something else.
>
> This is really annoying, as do repeat is my friend.
> ​
> My Windows 8.1 recently did an update (nowhere near the disaster that
> Window 10 Creator has been for some), but my code has been working since
> that update. Closing down and rebooting did not help. ​
>
> ​Does anyone know what's up with this, how to fix it, or whether there are
> any patches?
>
>
> --
> Leslie Horst, Ph.D.
> Principal
> Horst Data Partners
> ===================== 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
>



--
Jon K Peck
[hidden email]

=====================
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

------------------------------

End of SPSSX-L Digest - 16 Jun 2017 to 17 Jun 2017 (#2017-127)
**************************************************************



--
Leslie Horst, Ph.D.
Principal
Horst Data Partners
===================== 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: Follow up about error 4511

Rich Ulrich

Silly goose!  The "general form" works fine or there would be, what, revolt?


The error that /I/ pointed to in your cited link was essentially typographical.  Typo.  Think-o.


RUN your section of code that fails, and copy to us the lines and the error.  If you don't spot what's wrong already.


--

Rich Ulrich




From: SPSSX(r) Discussion <[hidden email]> on behalf of Leslie Horst <[hidden email]>
Sent: Sunday, June 18, 2017 5:25 PM
To: [hidden email]
Subject: Follow up about error 4511
 
I was in a hurry to get a project done when this error cropped up. I dumped the code and created my variables one at a time. However, it was of the general form:

===================== 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: Follow up about error 4511

Pihlkjaer
My error message and code below.
I've run similar do repeats for other variables i the same file without
problems. The biggest difference for this block is that it has A-F instead
of A-E, so 6 instead of 5 (same for the loops).







--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

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

Re: Follow up about error 4511

David Marso
Administrator
Please paste your exact syntax and error message.



Pihlkjaer wrote

> My error message and code below.
> I've run similar do repeats for other variables i the same file without
> problems. The biggest difference for this block is that it has A-F instead
> of A-E, so 6 instead of 5 (same for the loops).
>
>
>
>
>
>
>
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (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





-----
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
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
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: Follow up about error 4511

Pihlkjaer
Hey,
I pasted it like raw text, could that have been the problem?

Actually this problem solved itself in that i realised I had messed up the
do repeat lists (missed a "fill down" in Excel - classic). So I don't think
my message is relevant anymore.

Best,
Joachim



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

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

Re: Follow up about error 4511

Bruce Weaver
Administrator
Yes, that is the problem.  Please see this thread:

http://spssx-discussion.1045642.n5.nabble.com/OT-quot-raw-text-quot-tags-in-Nabble-are-making-text-disappear-in-the-UGA-archive-td5729959.html

HTH.



Pihlkjaer wrote

> Hey,
> I pasted it like raw text, could that have been the problem?
>
> Actually this problem solved itself in that i realised I had messed up the
> do repeat lists (missed a "fill down" in Excel - classic). So I don't
> think
> my message is relevant anymore.
>
> Best,
> Joachim
>
>
>
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (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





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
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
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: Follow up about error 4511

Pihlkjaer
Thanks David and Bruce!
I am new to the message function in this forum, will not happen again ;)
But as I mentioned, I found the problem and it was far from an "relevant"
one, just a simple slip-up from my side. So I don't see the point in posting
the syntax anymore. Let me know if you disagree.

Best,
Joachim



-----
Best,
Joachim
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
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
Best,
Joachim