How can we get SAS to update the code that SAS/Studio automatically pre-pends to the user code? I am getting annoyed with this note that always appears at the top of my program logs.
INFO: Character variables have defaulted to a length of 200 at the places given by: (Line):(Column). Truncation can result.
22:1 RC
It is caused by this bit of code.
RC=TSLVL('GEOCODE','N');
_ERROR_=0;
IF (RC^=' ') THEN DO;
CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
END;
They could fix it by adding a LENGTH statement. Or moving the function call into the IF statement since they aren't using the RC variable for anything anyway.
Here is the responce I got from SAS Support.
Hello Tom, Thanks for reporting the problem with the INFO notes in the SAS log.
I will enter a defect on this so that it can be addressed.
Thanks again! SIncerely, Chevell
Hey Tom!
I've found a couple of these myself, particularly in SAS University Edition. I find that emailing SAS Support directly is the best way to get these added to the list. Alternatively, you can add your idea to SAS Ballot; being someone as active as you are here, I'm sure you're already aware of both these options, I just wanted to give you my thoughts based on experience.
Good luck and chat soon
Chris
Here is the responce I got from SAS Support.
Hello Tom, Thanks for reporting the problem with the INFO notes in the SAS log.
I will enter a defect on this so that it can be addressed.
Thanks again! SIncerely, Chevell
Well that's better than nothing 🙂 hope it gets resolved soon. In case you missed it, SAS has enabled us to download fixes just for SAS/Studio, without having to relicense all of SAS - so when the fix comes out, you'll get it right away. I think this is great news.
have a great weekend!
Chris
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.