Create the data set PROCLIB.STAFF. The INPUT statement assigns the names Name, IdNumber, Salary, Site, and HireDate to the variables that appear after the DATALINES statement. The FORMAT statement assigns the standard SAS format DATE7. to the variable HireDate.
data proclib.staff; input Name & $16. IdNumber $ Salary Site $ HireDate date7.; format hiredate date7.; datalines; Capalleti, Jimmy 2355 21163 BR1 30JAN79 Chen, Len 5889 20976 BR1 18JUN76 Davis, Brad 3878 19571 BR2 20MAR84 Leung, Brenda 4409 34321 BR2 18SEP74 Martinez, Maria 3985 49056 US2 10JAN93 Orfali, Philip 0740 50092 US2 16FEB83 Patel, Mary 2398 35182 BR3 02FEB90 Smith, Robert 5162 40100 BR5 15APR86 Sorrell, Joseph 4421 38760 US1 19JUN93 Zook, Carla 7385 22988 BR3 18DEC91 ;