We run this code all the time, and now it is not working. The only thing we change is the name of the files to update the YYMM (active1307 for example)
Here is the code:
AGGREGATE
/OUTFILE=* MODE=ADDVARIABLES OVERWRITE=YES
/PRESORTED
/BREAK=advo_key_b
/active1307 = MAX(active1307)
/pobox1307 = MAX(pobox1307)
/res1307 = MAX(res1307).
Here is the error code:
> Error # 10934 in column 21. Text: active1307
> The AGGREGATE command specifies an unknown existing variable name.
> Execution of this command stops.
> Error # 10921 in column 31. Text: )
> The number of existing variables does not match the number of new variables
in
> a new variable definition on the AGGREGATE command.
> Error # 10934 in column 20. Text: pobox1307
> The AGGREGATE command specifies an unknown existing variable name.
> Error # 10921 in column 29. Text: )
> The number of existing variables does not match the number of new variables in a new variable definition on the AGGREGATE command.
> Error # 10934 in column 18. Text: res1307
> The AGGREGATE command specifies an unknown existing variable name.
> Error # 10921 in column 25. Text: )
> The number of existing variables does not match the number of new variables in
> a new variable definition on the AGGREGATE command.
Can anyone help me with this error?