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.

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 1356 views
  • 0 likes
  • 4 in conversation