I have a program that produces formatted output. What I want is to have SAS (1) send the output to the printer, and (2) save a copy of the formatted output.
I figured out how to send output to the printer--
Is there any way to get SAS to also save this output to a file without repeating the DATA step? This DATA step modifies the input data, so if I just ran it a second time, it wouldn't work.
I know I can always save a copy of the input before it's modified. But if anyone has a better way, please let me know.
Thanks!
I figured out how to send output to the printer--
Code:
filename laserjet printer;
data rpt1;
file laserjet;
put .....
put .....
.........
I know I can always save a copy of the input before it's modified. But if anyone has a better way, please let me know.
Thanks!