Valid in: | Configuration fileOPTIONS window OPTIONS statementSAS invocation |
PROC OPTIONS GROUP= | MACRO
LOGCONTROL |
Type: | System option |
Alias: | SGEN | NOSGEN |
Default: | NOSYMBOLGEN |
See: | The SAS Log in SAS Language Reference: Concepts |
%macro mktitle(proc,data); title "%upcase(&proc) of %upcase(&data)"; %mend mktitle; %macro runplot(ds); %if %sysprod(graph)=1 %then %do; %mktitle (gplot,&ds) proc gplot data=&ds; plot style*price / haxis=0 to 150000 by 50000; run; quit; %end; %else %do; %mktitle (plot,&ds) proc plot data=&ds; plot style*price; run; quit; %end; %mend runplot; %runplot(sasuser.houses)