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

sas-innovate-2024.png

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.

 

Register 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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