Hello,
I have written a script to automatically run several do files in a folder and print either success or fail based on whether it returns _rc == 0 or not. Now I would like to add to that: if it failed, I want it to print the error message and the last 3-5 lines of syntax for why it failed. Is STATA capable of doing that? Any suggestions on how to do that?
0 Response to STATA command to execute code and return error message
Post a Comment