If you turn on the General preference in UE/SAS Studio "Show generated code in SAS log", you will see the code that UE/SAS Studio runs before every program to set things up. With that on, you can see the line that the INFO message is referring to:
17 DATA _NULL_;
18 CALL SYMPUT("GRAPHINIT","");
19 CALL SYMPUT("GRAPHTERM","");
20 RC=TSLVL('GEOCODE','N');
21 _ERROR_=0;
22 IF (RC^=' ') THEN DO;
23 CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
24 CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
25 END;
26 RUN;
INFO: Character variables have defaulted to a length of 200 at the places given by:
(Line):(Column). Truncation can result.
20:1 RC
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
Line 20 is
20 RC=TSLVL('GEOCODE','N');
Like many of the character functions, the variable that TSLVL is returned to is defaulted to a length of 200 characters if a specific length is not defined. That is what the INFO message is stating. I have entered a request to have a LENGTH RC $10; statement added before that so the message will not appear.
You can see the same results with MSGLEVEL=i if you run the following code:
data _null_;
x = cats('ginger',' bread');
put x=;
run;
and see that you don't get the result if you submit
data _null_;
length x $15;
x = cats('ginger',' bread');
put x=;
run;
Thanks for reporting this!
Regards,
Grace
... View more