proc sort data=customer_barcode_account nodupkey;
by cust_nbr;
where cust_nbr gt 0;
to me, this is 3 steps.
Q: What are the order of the steps, say I was splitting it into three steps, not one.
The WHERE statement filters the data into PROC SORT.
The NODUPKEY option filters the data out of PROC SORT.
So the actual sorting is in the middle.
The WHERE statement filters the data into PROC SORT.
The NODUPKEY option filters the data out of PROC SORT.
So the actual sorting is in the middle.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.