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


Please Help Members By Posting Answers For Below Questions

What is the differnce between SDTM 3.1.2 to 3.1.1 version

4597


What are the 3 components in sas programming?

717


What are the advantages of using sas?

601


List out some key concept of SAS

615


Can you explain the process of calendar?

631






Name some categories in sas 9? : sas-grid-administration

551


what is slowly changing dimension? : Sas-di

614


what is metadata? : Sas-bi

592


How is character variable converted into numeric variable and vice versa?

582


Explain input and put function?

639


Mention how to limit decimal places for the variable using proc means?

635


what are some differences between proc summary and proc means? : Sas programming

501


what is sas and what are the functions? : Sas-administrator

530


What are the statements in proc sql?

585


Mention what is the difference between nodupkey and nodup options?

587