I think you need to have at least one aggregated variable.
"/k=n" would give you a count.
Did you try just leaving the function out of the syntax?
You might also look at Tables.
Hope this helps.
Social Research Consultants
University Park, MD USA
Bob Walker wrote:
> Hi Listers,
> I'm using AGGREGATE to generate a set of unduplicated fields from a large
> database of individual records, but I only need the fields. Is there a way
> to do this without having to specify an aggregation variable? Right now I'm
> aggregating on CATEGORY (since it's numeric), but I am immediately dropping
> it since I don't need it. For example:
> AGGREGATE/OUTFILE=*/BREAK TERR FAMILY CATEGORY DISTRICT REGION/K =
> Any suggestions?
> Bob Walker