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

If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1134


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1912


what is the use of sas management console? : Sas-di

804


What is the maximum length of the macro variable?

893


Which statement does not perform automatic conversions in comparisons?

1434


what is slowly changing dimension? : Sas-di

853


Differentiate between sas functions and sas procedures.

850


What is the maximum length of the macro variable? : sas-macro

846


How you can read the variables that you need?

862


What are the default statistics for means procedure?

873


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1309


Describe crosslist option in tables statement?

931


how to remove duplicates using proc sql?

859


How do you connect the desktop application to metadata server? : sas-grid-administration

834


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2527