BookmarkSubscribeRSS Feed
Sarit
Calcite | Level 5
Hi,
I'm using SAS EG4.2 and i'm facing a problem with the limit of characters in SAS names.
While trying to transpose a table in SAS i got an error which indicates that the ID value of the parameter name in the input data set occurs twice. However, it isn't! The names are not the same.

While trying to investigate the problem i noticed that SAS cut the names after 32 characters.

Can someone help me to overcome this problem?

thanks!
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
You are going to have to shorten your ID variable length. The variable name length is a core feature of SAS, so you will have to adapt your data. Message was edited by: Doc@Duke
Sarit
Calcite | Level 5
thanks for your response!

is there any way to change the data in SAS? (not changing just the length of it but also its content - and by that i can create shorter and meaningful parameter names).

thanks in advance!
Doc_Duke
Rhodochrosite | Level 12
I'm not sure I understand your second question, as I thought I had already answered it.

Just create a task in EGuide that is BEFORE the transpose task to reduce the length of the ID variable.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

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
  • 3 replies
  • 1090 views
  • 0 likes
  • 2 in conversation