Hello everyone, I have a question.

I have to append/merge a dataset with another one.
My question is the following :
  • when have I to use one or the other method to put together two datasets?
Here are both datasets that I want to append/merge:

dataset "female":

Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input long pidp int ca_age byte(ca_sex ca_couple ca_sclonely_cv ca_blwork ca_sempderived) str12 ca_netpay byte(ca_scghql ca_outcome)
   76165 37 2 1  1  1  1 "3200"          2 11
  280165 40 2 1  1  3  3 "1700"          1 11
  469205 30 2 2  2  1  1 "650"           4 11
  599765 33 2 1  1  1  1 "2591"          2 11
 1587125 54 2 2  2  2  2 "600"           2 11
end
dataset "male":

Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input long pidp int ca_age byte(ca_sex ca_couple ca_sclonely_cv ca_blwork ca_sempderived) str12 ca_netpay byte(ca_scghql ca_outcome)
  732365 34 1 2 3 4 4 "inapplicable" 3 11
 4849085 37 1 1 2 1 1 "3200"         3 11
68035365 68 1 2 2 4 4 "inapplicable" 1 11
68035367 39 1 1 2 1 1 "3700"         2 11
68041491 47 1 1 1 1 1 "2400"         1 11
end

Thank you in advance for the answer provided.
Best,

--
Michael Duarte Gonçalves