It seems as though I cannot use a SAS function in an insert statement:
proc sql;
create table tq84_tab (col char(100));
insert into tq84_tab values (repeat('foo ', 10));
quit;
When I run the code, I am getting:
insert into tq84_tab values (repeat('foo ', 10));
---- -----
22 26
202 200
ERROR 22-322: Syntax error, expecting one of the following: a quoted string, a numeric constant, a datetime constant,
a missing value, +, -, MISSING, NULL, USER.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
Am I doing something wrong or is my suspiscion indeed the case?