Page 62 - SAS_manual
P. 62
6.5 Multiple iterative statement:
DO LOOP
The iterative DO statement executes statements between DO and END statements repetitively based on
the value of an index variable.
Syntax: DO index=start to stop;
SAS statement;
END;
Program 6.12: Output:
Output statement:
It is used to store PDV to output dataset. Usually, by default SAS stores PDV values to output dataset at
the end of data step. However, if you use output statement default output is not going to work.
SAS HANDBOOK | VISIT:: http://nikhilanalytics.com 62