BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User

Try it.

I think that it does add the prefix to the name that it takes from the ID variable, so that the extra step is not needed.

turcay
Lapis Lazuli | Level 10

Hello Tom,

 

Thanks a lot, i tried many things but i couldn't solve how i can create output of all score columns. I get error related to score columns name i need a dynamic code. I can feel i'm so close to solve problem but i think i need a help in this situation. I attached my code.

 

Thanks a lot @Tomand @RW9 .

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,


Rather than making me trawl through that long program, can you post a small amount of test data in the form of a datastep and example of the output you want.

turcay
Lapis Lazuli | Level 10

Hello @RW9,

 

Thank you for your interest.

Actually, i've already posted example of my output.This time i attached my code becasue as you said there are many data step on my program. I've also already posted my datastep.

If you copy and try the code on EG you can see small amount of the error.

I just want some information about the codes i'm trying to create the output which i want, at my odd moments.

 

Thanks a lot.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 18 replies
  • 4748 views
  • 6 likes
  • 4 in conversation