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
Mention what is PROC in SAS?
How are numeric and character missing values represented internally?
Describe the function and untility of the most difficult SAS macro that you have written.
Explain what is data step?
How you can read the variables that you need?
Name and describe few sas character functions that are used for data cleaning in brief.
what is sas application server? : Sas-di
Name some categories in sas 9? : sas-grid-administration
where are dashboard components are created and maintained? : Sas-bi
What are the difference between sas functions and procedures?
Have you ever used the SAS Debugger?
what has been your most common programming mistake? : Sas programming
Explain the use of proc print and proc contents?
How will you generate test data with no input data?
What is factor analysis?