Hey, I want to use command capture to gen the variable years for all my databases that dont have it and then to be able to append them
-
Login or Register
- Log in with
help caoture
capture confirm new variable years
if _rc==0 {
generate years = 1992
}
else {
display "years already exists on this dataset"
}
Comment