Creating Multiple Observations from a Single Record |
Reading the Same Number of Repeating Fields
![]() |
![]() |
Within the iterative DO loop, add an INPUT statement that
reads a value for Sales (in fields 2-5) and holds the record
for another INPUT statement. |
1---+----10---+----20---+----30---+----40 |
0734 1,323.34 2,472.85 3,276.65 5,345.52 |
0943 1,908.34 2,560.38 3,472.09 5,290.86 |
1009 2,934.12 3,308.41 4,176.18 7,581.81 |
![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.