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 / saurabh
Hi.
I don t know any specific reason why yu dont wan to use
proc format. It would be better if you use that as there
would be probably some more wines in the market where u can
apply this format of red wine....
Anyways I think you can try this.
* the content in brackets have to come from your program
proc sql;
update [dataset_name];
set [wine_name_field] = "Red Wine" where [wine_name_field]
="Malambo Shiraz Malbec 750ML(0388)";
exit;
let me know in case u require something else.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the differnce between SDTM 3.1.2 to 3.1.1 version
What are the 3 components in sas programming?
What are the advantages of using sas?
List out some key concept of SAS
Can you explain the process of calendar?
Name some categories in sas 9? : sas-grid-administration
what is slowly changing dimension? : Sas-di
what is metadata? : Sas-bi
How is character variable converted into numeric variable and vice versa?
Explain input and put function?
Mention how to limit decimal places for the variable using proc means?
what are some differences between proc summary and proc means? : Sas programming
what is sas and what are the functions? : Sas-administrator
What are the statements in proc sql?
Mention what is the difference between nodupkey and nodup options?