/*ReplacedSASDatasetLibNameWithWork */
/*proc append base=&libn2..ctlencstclaimackdtl data=ctlenstclaimackdtl; */
data ctlencstclaimacdtl;
run;
%append dup_check(srctbl)=ctlencstclaimackdtl, srclib=work,
trgttbl =ctlencstclaimackdtl, trgtlib=&libn2., key=rowid);
/* SAS2AWS2: WritrdatatoRedshift - Remove Duplicates */
proc sort data = ctlencstclaimackdtl ----------------------------
-------------------------
------------------------
run;
can anyone help to fill the sort code for that.
Look here (Maxim 1): PROC SORT Statement
You will easily find the option which deals with duplicates.
Look here (Maxim 1): PROC SORT Statement
You will easily find the option which deals with duplicates.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.