SELECT IF LOOP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SELECT IF LOOP

shasj
Hi Dears

How do I create a loop that gives several other data.frames through a variable

e.g

TEMPORARY.
SELECT IF (VAR   EQ "4206").
SAVE TRANSLATE OUTFILE ="4206_GR.XLS"/TYPE =XLS
/VERSION=8
/REPLACE
/FIELDNAMES.

Where VAR is one variable of my database and 4206 is string valor of the VAR.

My variable may have several outhers values.

How I do one loop for this?

Thanks