BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi SAS,
Is there any hot fix or something wrong I am facing this issue in DI studio3.4

"The line exceeds the maximum line length of 254 characters in expression builder"

Thanks,
5 REPLIES 5
Doc_Duke
Rhodochrosite | Level 12
Yes, and no. Check this SAS note for ideas.

http://support.sas.com/kb/16/461.html

(I'm not a DI user, so I don't know it's specific constraints, but if it builds SAS code, the ideas referenced may work.)

Doc Muhlbaier
Duke
deleted_user
Not applicable
I think you misunderstood my question :

I am not able to write more than 254 characters in Expression window provided in SAS DI 3.4? its impacting my work.

Thanks,
Patrick
Opal | Level 21
I couldn't find another note than the one Duke already mentioned.

Did you read that?
"One workaround for this problem is to define the entire expression as a
macro earlier in your job definition, then invoke this macro in the
Expression Builder window."

Not that this is pretty but: You could assign the whole expression to a macro var in the pre-processing part of your job and then just call this macro var in the expression builder window (I think that's under advanced where you can write your own expression - click, click...)

You have always the possibility to open a support track with our friends from SAS Tech Support: http://support.sas.com/ctx/supportform/index.jsp

HTH
Patrick
LinusH
Tourmaline | Level 20
I have no problem adding long expressions, as long as I use carriage returns in my code.

/Linus
Data never sleeps
Patrick
Opal | Level 21
I investigated a bit more:
DI doesn't let you save too long lines (>254) as such lines would get truncated in SAS batch processing.
Linus got it once more right: Just add line breaks and everything will work fine.

Patrick

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 4389 views
  • 0 likes
  • 4 in conversation