BookmarkSubscribeRSS Feed
clq
Calcite | Level 5 clq
Calcite | Level 5

When do you use the quit; statement in proc gplot? When do you not?

3 REPLIES 3
PaigeMiller
Diamond | Level 26

You always use it to end the PROC. 

--
Paige Miller
Cynthia_sas
SAS Super FREQ
Hi:
ALL of the "G" SAS/GRAPH graphics procedures -- GCHART, GPLOT, GRADAR, GREPLAY, GBARLINE, etc -- end with a
QUIT;
statement.

Cynthia
ChrisNZ
Tourmaline | Level 20

You can write:

proc gplot data=SASHELP.CLASS;
  plot WEIGHT*AGE;
  run;
  plot HEIGHT*AGE;
  where SEX='F';
  run;
quit;

 All the procedures that can run successive tasks are ended with QUIT, since the end of a task is not the end of the procedure.

proc datasets, proc sql, etc.

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1372 views
  • 0 likes
  • 4 in conversation