I was wondering how the length of the BLANKSTR function is set. When I create a vector out of a loop like in the following code:
PROC IML;
vector = J(5,1,BlankStr(11));
DO i=1 TO 5;
vector[i,1] = char(i) + 'M';
END;
CREATE vector FROM vector;
APPEND FROM vector;
QUIT;
The resulting table "vector" is empty. If I change the argument in BLANKSTR to 13, however, I get the expected result. Do I use BLANKSTR incorrectly or what is behind this?
Thank you!