You are on page 1of 1

Final Case Study on Base and Advanced SAS(C-SAS) 50 Marks

Use the following file to complete the project


Project requirements:
1) Import the data of product file in SAS environment and create a Product Dataset
2) Import only those records where Category is Fruit and Country is United States
3) Create a frequency table to display Country based Product information
4) Create a new Dataset which should have only those products which were ordered on or
before 31st March 2012
5) Find out the countries which have highest and lowest Amount
6) Write SAS code to create a report to have Country wise Category based sum of Amount
7) Create a new Dataset which should have a new variable Discount. Discount should be
given as follows
a) If Amount is greater than $5000, Discount is 10% of the Amount
b) Else Discount is 5% of the Amount
8) Write a SAS code to create a new Dataset for every unique Country and it should have
data of that specific country
9) Write a SAS code to calculate sum of amount for every country and determine the
percentage amount based on entire total
10) Write a Macro program to input an Order ID and retrieve its product information. The
Macro should have some default Order ID passed.