Basically, RUN-group processing is used to perform task interactivly and efficiently without restarting the procedure. It is very intersting that ONLY the ones in SAS/Graph can reset or cancel global and local statements, BY statements, WHERE statement.
* Sample Code;
proc sort data=sashelp.class out=class;
by name;
run;
proc gplot data=class;
where;
by;
title "All Subjects";
plot height*weight;
run;
where sex='M';
by name;
title "Male";
plot height*weight;
run;
where sex='F';
by;
title "Female";
plot height*weight;
run;
quit;
For more information, please read SAS/GRAPH Processing: RUN-Group Processing.
No comments:
Post a Comment