There is a wonderful thing called formatting, which is linked to another invention called paragraphs.
You should try to look into that. I hear it helps written communication.
Regarding your question, you should use explicit SQL pass-through.
The syntax is something like this:
proc sql;
connect using SQL;
execute by SQL (
update TAB100 set KEY = 1 where KEY in (select KEY from TAB200)
);
quit;
The way you wrote your query, the whole tables are sent to SAS and then back.
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.