03-04-2013 06:16 AM
I am trying the below:
filename outfile '/camidata/usr_data/v32516/LEGAL_COMPLIANCE.txt' NEW;
proc printto print=outfile;
proc print data=ABC_waterfall;
title 'WATERFALL DETAILS';
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?
03-04-2013 06:39 AM
You can not use that in Filename statement.
Use NEW option in Proc Printto procedure as suggested by Data_null_
proc printto print='output-file' new;
Need further help from the community? Please ask a new question.