Nagaraju,
I may not understand your problem, but I think that an easier, more direct
method would be to use the split files command. If, for instance, you had a
variable, AA, with 6 values, and you wanted to run a correlation for each
subset of cases with the same value of AA, you could say
Sort cases by AA.
Split file by AA.
Correlation x1 with y1 to y10.
The critical element is that you must do the same set of procedures with
each subset of cases.
Gene Maguin
=====================
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