Hi,
I am trying the below:
filename outfile '/camidata/usr_data/v32516/LEGAL_COMPLIANCE.txt' NEW;
proc printto print=outfile;
run;
proc print data=ABC_waterfall;
title 'WATERFALL DETAILS';
run;
But if I run the program again, it is appending to the contents of the file rather than creating it all over again.
Could someone help?
Put NEW in the proc printto statement.
Put NEW in the proc printto statement.
HI Karthik
You can not use that in Filename statement.
Use NEW option in Proc Printto procedure as suggested by Data_null_
Syntax:
proc printto print='output-file' new;
run;
Thanks &Regards.
Sanjeev.K
That was really dumb of me, I misplaced the NEW option.
Thanks for your help...
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.