A00-215 Exam Question 21
Which of the following SAS statements would result in an error?

Assuming that the above code is in a SAS program, and the program is run from a SAS session.

Assuming that the above code is in a SAS program, and the program is run from a SAS session.
A00-215 Exam Question 22
You have a dataset 'SALES' with variables 'REGION', 'PRODUCT', and 'SALES AMOUNT'. You need to calculate the average sales amount for each region and product combination, but only for products with a total sales amount greater than 1000. Which code snippet achieves this correctly?
A00-215 Exam Question 23
You are working with a dataset containing sales data, where the 'SalesRegion' variable can have values like 'North', 'South', 'East', 'West', or be missing. You want to create a custom format that labels missing values as 'Unknown' and uses different labels for specific regions: 'North' becomes 'Northern Region', 'South' becomes 'Southern Region', and so on. Which PROC FORMAT code snippet correctly defines this format?
A00-215 Exam Question 24
You are working with a SAS dataset named 'SALES containing information about sales transactions. The dataset has a variable 'PRODUCT ID' and 'QUANTITY SOLD'. You want to create a new dataset 'SALES SUMMARY' that summarizes the total quantity sold for each product. Which code snippet would you use to achieve this?
A00-215 Exam Question 25
You have a SAS dataset named 'CUSTOMERS' with variables 'CUSTOMER ID', 'NAME', and 'CITY'. You need to create a new dataset named 'ACTIVE CUSTOMERS' that contains only customers from the city 'New York' and have a purchase date within the last 30 days. Which of the following DATA step code snippets will achieve this correctly?
