I want to append all the tempfile, here is my code, however, there is somthing wrong, how to solve this?
Code:
    foreach v of varlist x y z   {

        tempfile file`v'
        
        reg dv `v'
            
        save `file`v''

    }


        append using `file*'