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

Tell me more about the parameters in macro? : sas-macro

800


Explain the difference between using drop = data set option in set and data statement?

904


How do you define proc in sas? : sas-grid-administration

853


for report generation which one you used proc report or data_null_?

7081


How do you control the number of observations and/or variables read or written?

992


Of all your work, where have you been the most successful?

4407


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

2086


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

811


what is the difference between nodup and nodupkey options? : Sas programming

859


Explain the main difference between the sas procedures and functions? : Sas-administrator

754


Differences between where and if statement?

778


What are the special input delimiters used in SAS?

858


How do dates work in sas?

843


Differentiate between ceil and floor functions.

877


What will calendar procedure do?

813