Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
When you write a DATA
step to create one observation per detail record, what do you need
to do?
-
Distinguish between
header and detail records.
-
Keep the header record
as a part of each observation until the next header record is encountered.
-
Hold the current value
of each record type so that the other values in the record can be
read.
-
-
Which SAS statement
reads the value for code (in the first field), and then holds the
value until an INPUT statement reads the remaining value in each observation
in the same iteration of the DATA step?