I am trying to combine two string variables using the following syntax:
string GRAD_TERM (a10)
compute GRAD_TERM = concat(rtrim(AcadYearEnd),rtrim(GradTerm))
When I try to run it, I get this:
>Error # 4080 in column 19. Text: =
>On the STRING command, the list of variables being defined was not followed by
>the formats for those variables.
>Execution of this command stops.
I am new to SPSS and I'm not sure what this means or how to fix it. Could I get some help, please?