Close the ODS Listing destination for procedure output, and set the graphics environment. To conserve system resources, ODS LISTING closes the Listing destination for procedure output. Thus, the graphics output is not displayed in the GRAPH window, although it is written to the catalog.
ods listing close;
goptions reset=global gunit=pct cback=white
         colors=(black blue green red)
         ftext=swiss htitle=6 htext=3.5;