BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Job04
Quartz | Level 8

I have dataset with patients' IDs numbered in no sequential way. I want to make change to all the IDs.

For example patient 002 would be after the change: F1-1-KIDN-002. 

It is just adding  "F1-1-KIDN-" in front of the original ID.

I give an example of how the data looks like.

 

Thank you

 

id,C1,C2,C3,C4
002,4.19855,5.74574,33.46678,6.85391
007,3.48004,6.69138,31.85662,11.73753
009,3.33851,5.74293,36.09064,10.9801
020,3.2966,8.15718,30.27008,7.62836

 

 

 

 

1 ACCEPTED SOLUTION
3 REPLIES 3

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 3 replies
  • 508 views
  • 0 likes
  • 2 in conversation