Hi I have list of products in a dataset,
which are classified by other name for eg:- there is a
product A> Malambo Shiraz Malbec 750ML(0388) which is a Red
wine.Now i need to generate a report where it shows if this
product appears then it should b displayed as red
wine,similarly for other products and other classification.
I dont wan use proc format.
Answer Posted / chandrakanth
please do not post complex answers if it can be done in very very simple.
data=dataset name;
set source dataset name;
if productA="Malambo Shiraz Malbec 750ML(0388)" then productA='Red Wine';
proc print data=dataset name;
run;
let me know if i am wrong
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
do you prefer proc report or proc tabulate? Why? : Sas programming
How will you generate test data with no input data?
Explain what Proc glm does?
What does P-value signify about the statistical data?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
Difference between sum function and using “+” operator?
What are the special input delimiters used in SAS?
Explain the main difference between the sas procedures and functions? : Sas-administrator
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
what is ae onset date n what is RDS
What are the scrubbing procedures in sas?
Explain how merging helps to combine data sets.
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
name several ways to achieve efficiency in your program? : Sas programming
what is PhaseIII, ODS, TLG, Macro and Proc in SAS