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

I have the following dataset:

data Have;
input date mmddyy10. c1$ c2$ c3$ c4 c5;
format date mmddyy10.;
cards;
01/02/2019 A B C 4 5
01/03/2019 4 5 6 7 8
01/04/2019 3 6 7 8 1
;run;

I want to add a new character column which concatenates column1, column2 & Column3 as:
01/02/2019AB
01/03/201945
01/04/201936

 

1 ACCEPTED SOLUTION
1 REPLY 1

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 4153 views
  • 1 like
  • 2 in conversation