Consider this example data. Each record in the file
Tempdata contains three blocks of data. Each block contains a date
followed by the day's high temperature in a small city located in
the southern United States.
You could write a DATA
step that reads each record and creates three different Date and Temp
variables.
Alternatively, you could create a separate observation for each block ...