You are missing a period at the end of the AGGREGATE command, so the next line is interpreted as part of that command.
--
------Original Message------
Hi there,
I am currently running an aggregate function and I get :
Error n° 10933
in column 1. Text: DATASET>The definition of a new variable on the AGGREGATE command must be>terminated by a slash.>This command not executed.I want to have the fertility ratio (Woman-Child ratio) from a 1911 census. Here is my syntax:
DATASET DECLARE AggBirths.
AGGREGATE OUTFILE = 'AggBirths'
/BREAK AgeCategories
/TotalFamilies = N
/TotalBirths= SUM(TotalYoungChildren)
DATASET ACTIVATE AggBirths.
I just don't understand why it cannot go through and adding slashes does not help either.
I seems to be a very banal error.
Does anyone have any advice ?
Thank you !
------------------------------
Guillaume D
------------------------------
#SPSSStatistics