It can be kind a dummy question but I can not find example. The case is below:
proc sql;
create table set1 as select catx('<', field1, field2 ....) as need_field
from table;
quit;
With this code field need_field cuts up tо length 200, so its predictible as documentation says:
The CATX function returns a value to a variable, or returns a value in a temporary buffer. The value that is returned from the CATX function has the following length:
•up to 200 characters in WHERE clauses and in PROC SQL
•up to 32767 characters in the DATA step except in WHERE clauses
•up to 65534 characters when CATX is called from the macro processor
I do not want do use data step. Could you help me to built code using macro processor? (third way). Thank you!