This is one of my homework assignments in SAS Studio, I could use some guidance. You will
Question:
This is one of my homework assignments in SAS Studio, I could use some guidance.
You will use pets.sas7bat files for this assignment.
Create a new file named clients that is based on the pets file. In this file, you should:
create a field Birth_Year that is a 4 digit year extracted from Birth_Date
create a field Day_of_Week that is a number that represents the day of the week from Last_Visit
create a field Pet_Age that is a calculated field between Birth_Date and the current date
change Animal_Type so that only the first letter is capitalized
create a field PetGenID that is a concatenated field with PetID and Gender
create a field PetNum that only includes the 7th and 8th characters from PetID
Keep all of the fields/variables EXCEPT for Comments
Auditing a business risk appraoch
ISBN: 978-0324375589
6th Edition
Authors: larry e. rittenberg, bradley j. schwieger, karla m. johnston