Hi,
Below is input table
Account_ID,Credit_Balance,Debit_Balance
8834,100,200
7456,200,500
7896,600,800
6543,700,900
Below is what I want
TABLE_NAME,COLUMN_NAME,ORIGINAL_VALUE,CHANGED_RANDOM_VALUE,DATE
HAVE,Account_ID,8834,1213,03-Nov-2021
HAVE,Account_ID,7456,4567,03-Nov-2021
HAVE,Account_ID,7896,6789,03-Nov-2021
HAVE,Account_ID,6543,9867,03-Nov-2021
HAVE,Credit_Balance,100,432,03-Nov-2021
HAVE,Credit_Balance,200,567,03-Nov-2021
HAVE,Credit_Balance,600,898,03-Nov-2021
HAVE,Credit_Balance,700,156,03-Nov-2021
HAVE,Debit_Balance,200,323,03-Nov-2021
HAVE,Debit_Balance,500,556,03-Nov-2021
HAVE,Debit_Balance,800,901,03-Nov-2021
HAVE,Debit_Balance,900,384,03-Nov-2021
How do I get this, changed value is actually a random number so values may differ. I am trying everything but somehow not getting the correct output. Any help is really appreciated
Please post your program attempt. It's hard to help if we don't know what you have tried.
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!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.