I don't know about the ID numbers but for the flag you can try
SELECT IF FLAG ~= 0.
EXE.
So it would get rid of all the cases where FLAG is 0.
Lei Gao
Ipsos-Loyalty
[hidden email]
(973)658-1762
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of
Arlin Cuncic
Sent: Friday, June 23, 2006 2:26 PM
To:
[hidden email]
Subject: deleting cases based on values of variables
Hi everyone,
I was just wondering if there is a command along the lines of DELETE
CASES IF....
I want to delete a bunch of cases based on their ID numbers and whether
they are flagged with a zero on a certain variable. I can figure out a
long way of doing it, I was just wondering if there is a delete cases
command like there is a select cases command.
Thanks!
Arlin