XSAVE & LOOPS

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

XSAVE & LOOPS

Feinstein, Zachary
I get the following message when I ran the code that comes after it:
 
>Warning # 142. Command name: XSAVE

>LOOP has no effect on this command.

NUMERIC org (F2).

COMPUTE org = 0.

VECTOR holder = q60a1 TO q60a32.

LOOP org = 1 TO 32.

. DO IF (holder(org) >= 1).

. XSAVE OUTFILE = "C:\temp2\dp_stack.sav".

. END IF.

END LOOP.

EXECUTE.

 

I never received such a warning in prior versions of SPSS.  What is
happening here?

 

Basically I am trying to conditionally stack my data based on if they
have answers within each of the q60a questions.

 

Thanks.

 

Zachary

[hidden email]
<mailto:[hidden email]>

 

 
Reply | Threaded
Open this post in threaded view
|

Re: XSAVE & LOOPS

Oliver, Richard
The warning is a reported bug. You can ignore it. It won't have any effect on your results.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Feinstein, Zachary
Sent: Tuesday, June 05, 2007 3:57 PM
To: [hidden email]
Subject: XSAVE & LOOPS

I get the following message when I ran the code that comes after it:

>Warning # 142. Command name: XSAVE

>LOOP has no effect on this command.

NUMERIC org (F2).

COMPUTE org = 0.

VECTOR holder = q60a1 TO q60a32.

LOOP org = 1 TO 32.

. DO IF (holder(org) >= 1).

. XSAVE OUTFILE = "C:\temp2\dp_stack.sav".

. END IF.

END LOOP.

EXECUTE.



I never received such a warning in prior versions of SPSS.  What is
happening here?



Basically I am trying to conditionally stack my data based on if they
have answers within each of the q60a questions.



Thanks.



Zachary

[hidden email]
<mailto:[hidden email]>