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
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
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.
what is the use of sas management console? : Sas-di
What is the maximum length of the macro variable?
Which statement does not perform automatic conversions in comparisons?
what is slowly changing dimension? : Sas-di
Differentiate between sas functions and sas procedures.
What is the maximum length of the macro variable? : sas-macro
How you can read the variables that you need?
What are the default statistics for means procedure?
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Describe crosslist option in tables statement?
how to remove duplicates using proc sql?
How do you connect the desktop application to metadata server? : sas-grid-administration
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?