Question: 3. Reading a Comma-Delimited Raw Data File a. Retrieve the starter program p107e04. b. Add the appropriate LENGTH, INFILE, and INPUT statements to read the

 3. Reading a Comma-Delimited Raw Data File a. Retrieve the starter

3. Reading a Comma-Delimited Raw Data File a. Retrieve the starter program p107e04. b. Add the appropriate LENGTH, INFILE, and INPUT statements to read the comma-delimited raw data file named the following: Windows or UNIX custca . csv z/OS (OS/390) . workshop . rawdata (custca) Partial Raw Data File Bill, Cuddy,11171,M,16/10/1986,21,15-30 years Susan, Krasowski, 17023,F,09/07/1959,48,46-60 years Andreas, Rennie,26148,M,18/07/1934,73,61-75 years Lauren, Krasowski, 46966,F,24/10/1986,21,15-30 years Lauren, Marx,54655,F,18/08/1969,38,31-45 years The following variables should be read into the program data vector: Name Type Length First Character 20 Last Character 20 ID Numeric Gender Character BirthDate Numeric Age Numeric AgeGroup Character 12 Reading raw data files 2% c. Add a FORMAT statement and a DROP statement in the DATA step to create a data set that resembles the following when used in the PROC PRINT step: Partial PROC PRINT Output (First 5 of 15 Observations) Birth Obs First Last Gender AgeGroup Date Bill Cuddy M 15-30 years OCT1986 Susan Krasowski F 46-60 years JUL1959 Andreas Rennie M 61-75 years JUL1934 Lauren Krasowski 15-30 years OCT1986 Lauren Marx F 31-45 years AUG1969

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Marketing Questions!