I have been using the following code to write to a log file while running a program to avoid the log containing the output.
However I get this error while running SAS University edition.
Can someone tell me what I have done wrong and how to get the log to be written to a file?
Thanks
Well, first off I assume this is a typo:
proc printto log='/folders/myfolders/BootRIT/filenOLD.LST/';
As the last / is not correct.
What is BootRIT? Do you have write access to it, is it being used by the system? Try a file somewhere else:
proc printto log='/folders/myfolders/filenold.log'; run;
Note the various updates I made to the code.
Well, first off I assume this is a typo:
proc printto log='/folders/myfolders/BootRIT/filenOLD.LST/';
As the last / is not correct.
What is BootRIT? Do you have write access to it, is it being used by the system? Try a file somewhere else:
proc printto log='/folders/myfolders/filenold.log'; run;
Note the various updates I made to the code.
Your suggested code worked. The Bootrit was a folder that I had created.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: