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?
Related Posts with STATA command to execute code and return error message
How to save 1 specific xtreg beta coefficient to use in postestimations?Dear Stata Community members, I would like to ask how I can save one particular beta coefficient af…
ScatterplotHello, I need to create a figure such as the one below. How can I do it? I'd like to show the correl…
Choosing the best model- Panel data regression analysisHi, I am new in this forum, I read many useful comments related to panel data analysis. I am from fi…
Update to -overid- available on SSCWith thanks as usual to Kit Baum, an update to our program overid is now available on SSC. overid i…
Levene’s testDear researchers, I have unbalanced panel data for more than 200 firms for the period that extend fr…
Subscribe to:
Post Comments (Atom)
0 Response to STATA command to execute code and return error message
Post a Comment