I am doing some data management in which the following code generates masses of missing data generation messages. This is just a little test, but eventually there will be thousands of them,.I want to turn them off. I don't see an option for generate that would do it. I suspect that the answer is in SET OUTPUT, the help file for which reads: " set output specifies the output to be displayed. It is useful only in programs and even then is seldom used." By trial and error I found that set output inform turns off the messages but I am wondering if that is the best way to do it. If it is, perhaps it could be more fully documented.
Code:
. forvalues i = 1/10 { 2. gen code`i' = word(clean,`i') 3. } (1 missing value generated) (1 missing value generated) (1 missing value generated) (3 missing values generated) (3 missing values generated) (3 missing values generated)
Comment