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 / chandrakanth
please do not post complex answers if it can be done in very very simple.
data=dataset name;
set source dataset name;
if productA="Malambo Shiraz Malbec 750ML(0388)" then productA='Red Wine';
proc print data=dataset name;
run;
let me know if i am wrong
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do you specify the number of iterations and specific condition within a single do loop?
Describe the ways in which you can create macro variables?
What is the difference between reading data from an external file and reading data from an existing data set?
How necessary is it to be creative in your work?
Did you used proc test? when?
What are the advantages of using sas?
What is the good sas programming practices for processing large data sets?
Given an unsorted data set, how to read the last observation to a new data set?
explain what is factor analysis? : Sas-administrator
Give an example where SAS fails to convert character value to numeric value automatically?
Mention some common errors that are usually committed in sas programming.
What are the default statistics for means procedure?
What is SAS informats?
What are the applications primarily used by business analyst? : Sas-bi
what is study design in while working with SAS? what are screening variables in SAS?