Hi, I have been trying to define an array in SAS University Edition by using the following code :- data arraymaking; input height weight age @@; array test[4] t1 t2 t3 t4 (90 80 70 70); datalines; 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 ; proc print data=arraymaking; var test[1] ; run; SAS throws an error:- ERROR: Variable TEST not found. ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, /, :, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_. ERROR 200-322: The symbol is not recognized and will be ignored. 72 run; Can Someone tell me what i am doing wrong ? Why is SAS unable to recognise "Test" as an array? Thank You.
... View more