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

Mention what is PROC in SAS?

605


How are numeric and character missing values represented internally?

1141


Describe the function and untility of the most difficult SAS macro that you have written.

1566


Explain what is data step?

733


How you can read the variables that you need?

657






Name and describe few sas character functions that are used for data cleaning in brief.

671


what is sas application server? : Sas-di

546


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

561


where are dashboard components are created and maintained? : Sas-bi

572


What are the difference between sas functions and procedures?

644


Have you ever used the SAS Debugger?

1212


what has been your most common programming mistake? : Sas programming

571


Explain the use of proc print and proc contents?

562


How will you generate test data with no input data?

565


What is factor analysis?

664