hi experts,
i came across the type of merging, can't understand this part alone.....i'll post the whole code and i'll highlight my doubt in bold letters
For Example,
data three;
merge two (in=A)
one (in=B);
by ID;
if A;
if ^B then do;
Name=Student_Name;
Marks= Total_Mark;
end;
run;
what does the ^ symbol stands for?
TIA
Hi @Pooja98,
It's the Boolean operator "NOT", so you can write equivalently
if not B then do;
In your example the condition means "the ID value does not occur in dataset ONE."
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.