-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ). proc gchart data=clinic.admit;
hbar sex;
vbar age;
pie actlevel;
run;
-
Submit the program.
-
View the output, noticing the variables that are charted and the statistics
that are calculated. Notice that the program requested three different charts
from the same data without resubmitting the procedure.
|
The status line in the Program Editor window displays the message
PROC GCHART running. Unlike most other procedures, the GCHART
procedure continues to run until you submit another PROC step, a DATA step,
or a QUIT statement. This feature is called RUN-group processing. RUN-group
processing is discussed in the lesson Enhancing and Exporting Charts
and Plots. You may submit a QUIT statement now, or let PROC GCHART
continue running. |
Return here and select Next.
|