79230242

Date: 2024-11-27 12:28:29
Score: 2
Natty:
Report link

To add an update since this was answered in 2015, from SAS9.4M5 this can be done in open code. https://blogs.sas.com/content/sasdummy/2018/07/05/if-then-else-sas-programs/

%if not(%symexist(g900_r)) %then %do; %let g900_r=0; %end;

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: moreQthanA