I'm hoping to get advice on how to silence an ado which I cannot edit.
Even though I'm calling the dofiles of each task quietly, the getdataset command is somehow overwritting the quietly and displaying a long disclaimer for every dataset opened. My best guess is that this was done intentionally within the ado, for the same disclaimer is displayed even if I just type "quietly getdataset, options".
Thus, instead of having a log with just a few lines of timestamps, I end up with a flood of the same disclaimer printed 10*200 times. I would like to circumvent this but I cannot edit the getdataset ado. Any suggestions?
Thanks for any advice!
Code:
log using mylog.log, replace di "Started at $S_TIME." foreach task of local tentasks {qui do task.do* each task.do manipulates datasets * using a loop which calls ~200 times the command getdataset, * which is a user-written ado from my companydi "...`task' completed at $S_TIME."} di "All tasks completed."
Thus, instead of having a log with just a few lines of timestamps, I end up with a flood of the same disclaimer printed 10*200 times. I would like to circumvent this but I cannot edit the getdataset ado. Any suggestions?
Thanks for any advice!
Comment