[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: insert obs of one file at the beginning of another file
I would like to insert observations (format: %12s) of one
variable of a file with 10 obs <head.dta> at the beginning
of several variables (converted to strings) of another file
<boss.dta> and shift the remaining observations from
<boss.dta> these 10 obs back. I appended <head.dta> to
<boss.dta>, then replaced every empty observation at the end
of <boss.dta>. But here I get stuck. How can I efficiently
put the string variables from the end to the beginning?
P.S.: Speed is an issue as <boss.dta> has 1.7 mio obs!
Help would be appreciated,
--- Daniel ---
* For searches and help try: