Hi, I'm new with SAS and I have a little problem when I merge two data set.
when I run the below code, an error 180-322 occur and I dont know why, I check my semicolon and it seems just fine.
plz help.
DATA mer03;
proc sort data=PAXBAG.baggage_info_1; by Pax_Key;run;
proc sort data=PDETAIL.pax_detail_1; by Pax_Key;run;
merge PAXBAG.baggage_info_1 PDETAIL.pax_detail_1;
by Pax_Key;
run;
proc sort data=PAXBAG.baggage_info_1;
by Pax_Key;
run;
proc sort data=PDETAIL.pax_detail_1;
by Pax_Key;
run;
data mer03;
merge PAXBAG.baggage_info_1 PDETAIL.pax_detail_1;
by Pax_Key;
run;
proc sort data=PAXBAG.baggage_info_1;
by Pax_Key;
run;
proc sort data=PDETAIL.pax_detail_1;
by Pax_Key;
run;
data mer03;
merge PAXBAG.baggage_info_1 PDETAIL.pax_detail_1;
by Pax_Key;
run;
Thanks, I solve it simply by moving the data mer03 to the bottom line. @andreas_lds Thank you so so much
proc sort data=PAXBAG.baggage_info_1; by Pax_Key;
proc sort data=PDETAIL.pax_detail_1; by Pax_Key;
DATA mer03; merge PAXBAG.BAGGAGE_INFO_1 PDETAIL.PAX_DETAIL_1; by Pax_Key;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and save with the early bird rate—just $795!