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
Dummy Variables - New to Stata - Gender pay-gap policyHello, I have recently started learning Stata and have been playing around with data sets. The obse…
How to deal with missings on partner information if the person has no partner?Dear all, I use panel / survey data and in my estimations I include variables like "age of partner"…
stationarity of explanatory variables in time series regressionsI'm finding myself confused and unable to find good answers to what seems to be a simple question: …
Esttab Probit Regression columnwiseHello, I ran a multinomial regression model with 11 categories in the dependent variable. When I tr…
Syntax for funnel plotHello, I'm trying create a funnel plot for a meta-analysis of pre-calculated effect estimates (RR) …
Subscribe to:
Post Comments (Atom)
0 Response to STATA command to execute code and return error message
Post a Comment