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 / sheetal

above answer is correct. Just need to correct syntax
errors. Following is the corrected code,

proc sql;
update [dataset_name]
set [wine_name_field] = "Red Wine" where [wine_name_field]
="Malambo Shiraz Malbec 750ML(0388)";
quit;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1171


How to include or exclude specific variables in a data set?

649


Explain the purpose of substr functions in sas programming.

569


what are input dataset and output dataset options? : Sas programming

567


How you can read the variables that you need?

657






What is the basic structure of a sas program?

602


If you could design your ideal job, what would it look like?

2379


If a variable contains letters or special characters, can it be numeric data type?

766


what is null hypothesis? why do you consider that?

2425


What is the difference between %put and symbolgen? : sas-macro

675


what is the use of proc contents and proc print in sas? : Sas-administrator

611


how many types prompting framework can be broken down to? : Sas-bi

637


how the sas basic syntax style described? : Sas-administrator

608


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

617


what is hash files in sas and why we are using this one in sas?

1734