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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 18 replies
  • 7419 views
  • 6 likes
  • 4 in conversation