Re: Using SPSSINC Select Variables
Posted by jkpeck on
URL: http://spssx-discussion.165.s1.nabble.com/Using-SPSSINC-Select-Variables-tp5740839p5740840.html
SPSSINC SELECT VARIABLES creates a macro containing the variable names matched by the selection expression with a blank or other separator character such as a "+" forCTABLES.
You would then use that macro in any syntax that takes a variable list just as if you had typed in the names directly. For example, if you wanted to delete all the variables that were not selected you could do this, assuming the generated macro was named !brian.
ADD FILES FILE=* /KEEP=!brian.