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
Multiplication errors using genI'm using the code below to generate a new variable that is the unique id multiplies by 100. However…
Storing and appending marginal effects for successive mlogit models in a single matrixDear members of the list, I am running a multinomial logit regression for each one of a series of c…
How to count coefficients and p-values of a regression?Hello, i have another question regarding my code. Code: set matsize 511 unab y : TOYOTAMOTORTOT…
Heckman CorrectionDear All: I use logistic regression analysis to model the likelihood that a drug-development projec…
(possibly) simple bar graph comparing two variables (not one variable over the other)Hello, I've spent hours since yesterday to plot a simple bar chart which displays two variables wi…
Subscribe to:
Post Comments (Atom)
0 Response to STATA command to execute code and return error message
Post a Comment