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
Diamond | Level 26
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.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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