Question: 2. You have a text file called employee.txt. This file contains the following information: Variable ID Name Depart Date Hire Description Employee ID Employee

2. You have a text file called employee.txt. This file contains the

2. You have a text file called employee.txt. This file contains the following information: Variable ID Name Depart Date Hire Description Employee ID Employee Name Desired Informat $3. $20. Department $8. Hire date MMDDYY10. a. Create a temporary SAS data set called Employee using this data file. Use list input to read the data value. b. Add a FORMAT statement in DATA step to change DateHire into DATE9. c. Write the appropriate PROC PRINT statements to list the data portion. Drint The SAS System Obs ID Name Depart DateHire 1 123 Harold Wilson 2 128 Julia Child Acct 15JAN1989 Food 3 007 James Bond Security 01FEB2000 4 828 Roger Doger Acct 15AUG1999 5 900 Earl Davenport Food 09SEP 1989

Step by Step Solution

3.27 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a sample SAS code that accomplishes the tasks described sas a Creat... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!