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

I have one dataset Have as below 

ACCOUNT_IDAPPL_LOAN_PCT_GROSS_INCAPPL_LVRCUSTOMER_IDAPPLICATION_IDBASEL_RETAIL_CORP_CODEBROKER_FLG
RAM30000071.5384307690.6667400001700400001700CONSN
RAM30000154.29220.7368400004000400004000CONSN
RAM30000234.29220.7368400004000400004001CONSN

 

Now I want to append the values of ACCOUNT_ID,CUSTOMER_ID and APPLICATION_ID in another 

dataset  called as lookup which should have all these values one below other with only one column

Target table show look like as below 

Lookup Values
RAM3000007
RAM3000015
RAM3000023
400001700
400004000
400004000
400001700
400004000
400004001

 

 

 

I am trying a lot but could not find the solution. Any help is really appreciated

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
data want;
set have(keep=ACCOUNT_ID rename=(ACCOUNT_ID = LookUp))
have(keep=CUSTOMER_ID rename=(CUSTOMER_ID = LookUp))
have(keep=APPLICATION_ID rename=(APPLICATION_ID = LookUp)) ;
run;

View solution in original post

1 REPLY 1
Ksharp
Super User
data want;
set have(keep=ACCOUNT_ID rename=(ACCOUNT_ID = LookUp))
have(keep=CUSTOMER_ID rename=(CUSTOMER_ID = LookUp))
have(keep=APPLICATION_ID rename=(APPLICATION_ID = LookUp)) ;
run;

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
  • 1 reply
  • 390 views
  • 1 like
  • 2 in conversation