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

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!

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
  • 4668 views
  • 6 likes
  • 4 in conversation